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
- data
Type: System.String
- purpose
Type: System.String
Return Value
Type: System.String
Returns String.