IProtectedData.Protect Method

.NET Framework 4

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

Syntax

'Declaration
Function Protect ( _
    data As String, _
    purpose As String _
) As String
'Usage
Dim instance As IProtectedData 
Dim data As String 
Dim purpose As String 
Dim returnValue As String 

returnValue = instance.Protect(data, purpose)
string Protect(
    string data,
    string purpose
)
String^ Protect(
    String^ data, 
    String^ purpose
)
abstract Protect : 
        data:string * 
        purpose:string -> string
function Protect(
    data : String, 
    purpose : String
) : String

Parameters

Return Value

Type: System.String
Returns String.

See Also

Reference

IProtectedData Interface

Microsoft.AspNet.SignalR.Infrastructure Namespace