Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EncryptWith Property

WSTrustMessage::EncryptWith Property

.NET Framework 4.6 and 4.5

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

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

property String^ EncryptWith {
	String^ get ();
	void set (String^ value);

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.


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

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

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft