Protects data.
Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As ProtectedDataCookieTransform
Dim value As Byte()
Dim returnValue As Byte()
returnValue = instance.Encode(value)
|
Syntax
Visual Basic |
Public Overrides Function Encode ( _
value As Byte() _
) As Byte()
|
C# |
public override byte[] Encode (
byte[] value
)
|
C++ |
public:
virtual array<unsigned char>^ Encode (
array<unsigned char>^ value
) override
|
J# |
public byte[] Encode (
byte[] value
)
|
JScript |
public override function Encode (
value : byte[]
) : byte[]
|
Parameters
- value
-
Data to be protected
Return Value
Protected data
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 Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also