SecurityServices for .NET 2.0 Documentation

Credential.WriteMethod

[This is preliminary documentation and subject to change.]

Replaces the binary contents of the credential.

publicvoidWrite(
Byte[]contents
);

Parameters

Byte[]
The new contents to write.

Remarks

contents may not be larger than 512 bytes.

Exceptions

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

See Also

Credential Class | Org.Mentalis.SecurityServices.Authentication Namespace