MachineKeyProtectedData::Protect Method

.NET Framework 4.5

Namespace:  Microsoft.AspNet.SignalR.SystemWeb.Infrastructure
Assembly:  Microsoft.AspNet.SignalR.SystemWeb (in Microsoft.AspNet.SignalR.SystemWeb.dll)

public:
virtual String^ Protect(
	String^ data, 
	String^ purpose
) sealed

Parameters

data
Type: System::String
purpose
Type: System::String

Return Value

Type: System::String
Returns String.

Implements

IProtectedData::Protect(String, String)
Show: