[This is preliminary documentation and subject to change.]
Initializes a new Credential instance.
targetName must be at least one character and not longer than 32767 characters.
| Exception Type | Condition |
|---|---|
| NotSupportedException | This functionality requires Windows XP or higher. |
| ArgumentNullException | targetName is a null reference. |
| ArgumentException | targetName is invalid. |
| CredentialException | An error occurs while trying to retrieve the credential. |
Credential Class | Org.Mentalis.SecurityServices.Authentication Namespace | Credential Constructor Overload List