BinarySecret Constructor (Byte )
Initializes a new instance of the BinarySecret class using the specified key.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim secret() As Byte
Dim binarySecret1 As New BinarySecret(secret)
Syntax
'Declaration
Public Sub New( _
ByVal secret() As Byte _
)
public BinarySecret(
byte[] secret
);
public:
BinarySecret(
array<unsigned char>^ secret
);
public BinarySecret(
ubyte[] secret
);
public function BinarySecret(
secret : Byte[]
);
Parameters
- secret
An array of type Byte containing the key to place in the <BinarySecret> element.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | secret is null. -or- secret does not contain any elements. |
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
BinarySecret Class
BinarySecret Members
Microsoft.Web.Services3.Security Namespace