SecurityServices for .NET 2.0 Documentation

Credential.GetContents Method 

[This is preliminary documentation and subject to change.]

Gets or sets the contents of the credential.

public byte[] GetContents();

Exceptions

Exception Type Condition
ObjectDisposedException The Credential instance has been closed.
CredentialException An error occurs while trying to set the contents of the credential.
ArgumentNullException value is a null reference.
ArgumentException value is invalid.

See Also

Credential Class | Org.Mentalis.SecurityServices.Authentication Namespace