Share via


BinarySecret.Type Property

Gets or sets the type of key associated with the binary secret.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim binarySecret1 As BinarySecret

Dim returnValue As String
returnValue = binarySecret1.Type

Dim sampleValue As String
binarySecret1.Type = sampleValue

Syntax

'Declaration
Public Property Type() As String
public string Type {get; set;}
public: property String^ Type{
    String^ get();
    Void set(String^);
}
public System.String get_Type();
public void set_Type(System.String);
public function get Type() : String;
public function set Type(String);

Property Value

One of the constants in the BinarySecret.Types class. The default is SymmetricKey.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

BinarySecret Class
Microsoft.Web.Services2.Security Namespace

Other Resources

BinarySecret Members