Click or drag to resize

Credential Class

Class used for serialization of credentials created from user name, password and (optional) domain. Credentials will be saved encrypted. Only GetCredential(...) returns the NetworkCredential decrypted.
Inheritance Hierarchy
SystemObject
  MailMergeLibCredential

Namespace:  MailMergeLib
Assembly:  MailMergeLib (in MailMergeLib.dll) Version: 5.6.1.0
Syntax
public class Credential : ICredentials

The Credential type exposes the following members.

Constructors
  NameDescription
Public methodCredential
Initializes a new instance of the Credential class.
Public methodCredential(String, String, String)
Initializes a new instance of the Credential class.
Top
Properties
  NameDescription
Public propertyDomain
The domain.
Public propertyPassword
Password, set as plain text, returned encrypted.
Protected propertyPasswordEncrypted
Public propertyUsername
User name, set as plain text, returned encrypted.
Protected propertyUsernameEncrypted
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCredential
Get the network credential.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also