SecurityServices for .NET 2.0 Documentation

CredentialConstructor(String)

[This is preliminary documentation and subject to change.]

Initializes a new Credential instance.

publicCredential(
StringtargetName
);

Parameters

String
The name of the credential.

Remarks

targetName must be at least one character and not longer than 32767 characters.

Exceptions

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.

See Also

Credential Class | Org.Mentalis.SecurityServices.Authentication Namespace | Credential Constructor Overload List