CHAPSecret Class |
Namespace: SolidFire.Element.Api
public class CHAPSecret
The CHAPSecret type exposes the following members.
Name | Description | |
---|---|---|
CHAPSecret |
This will construct an empty, non-autogenerated CHAPSecret object.
| |
CHAPSecret(String) |
This will construct a new CHAPSecret object and set the Secret property
to the value in the "secret" parameter.
|
Name | Description | |
---|---|---|
Secret |
This property is used to get or set the Secret property which is a string
| |
ShouldAutoGenerate |
This property is used to get the boolean value indicating if the Secret will be autogenerated by the API. You cannot set this directly. Instead call: CHAPSecret.AutoGenerate(); to construct a CHAPSecret object with this property set to true. |
Name | Description | |
---|---|---|
AutoGenerate |
Use this static method to construct a CHAPSecret object with the ShouldAutoGenerate property set to true which, when passed into the AddAccount or ModifyAccount methods, will indicate to the API to autogenerate a new CHAP secret value for either the TargetSecret and InitiatorSecret properties of the Account object. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns the string value in the Secret property which is the actual CHAPSecret value
(Overrides ObjectToString.) |