Simple.CredentialManager.Credential.Credential C# (CSharp) Method

Credential() public method

Initializes a new instance of the Credential class.
public Credential ( string username, string password, string target, CredentialType type ) : System
username string The username.
password string The password.
target string The string that contains the name of the credential.
type CredentialType The credential type.
return System
        public Credential(string username, string password, string target, CredentialType type)
        {
            Username = username;
            Password = password;
            Target = target;
            Type = type;
            PersistenceType = PersistenceType.Session;
            lastWriteTime = DateTime.MinValue;
        }

Same methods

Credential::Credential ( ) : System
Credential::Credential ( string username ) : System
Credential::Credential ( string username, string password ) : System
Credential::Credential ( string username, string password, string target ) : System