Share via


DerivedKeyToken.Nonce Property

Gets the nonce for the security token.

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

Usage

'Usage
Dim derivedKeyToken1 As DerivedKeyToken

Dim returnValue As Nonce
returnValue = derivedKeyToken1.Nonce

Syntax

'Declaration
Public ReadOnly Property Nonce() As Nonce
public Nonce Nonce {get;}
public: property Nonce^ Nonce{
    Nonce^ get();
}
public Nonce get_Nonce();
public function get Nonce() : Nonce;

Property Value

A Nonce representing the randomly generated value.

Remarks

The Nonce property is set to new value each time a DerivedKeyToken is serialized into a SOAP message.

When the Parent property is a DerivedKeyToken, the initial value for the Nonce property of the child DerivedKeyToken is set using the parent's properties. If the Properties property of the parent security token is not null, the initial value of the Nonce property is set to the value of the Microsoft.Web.Services2.Security.Properties.Nonce property; otherwise, it is set to the Nonce property of the parent.

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

DerivedKeyToken Class
Microsoft.Web.Services2.Security.Tokens Namespace

Other Resources

DerivedKeyToken Members