WSTrustMessage.EncryptWith Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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

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