WSTrustMessage.EncryptWith Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the contents of the wst:EncryptWith element.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

member EncryptWith : string with get, set

Property Value

Type: System.String

A string that contains a URI that indicates the desired encryption algoritm to be used with the issued security token.

Exception Condition
ArgumentNullException

An attempt to set the property to null or an empty string occurs.

This optional URI element indicates the desired encryption algorithm to be used with the issued security token.

.NET Framework
Available since 4.5
Return to top
Show: