Share via


IDataProtector.Protect Method (Byte[])

 

Called to protect user data.

Namespace:   Microsoft.Owin.Security.DataProtection
Assembly:  Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)

Syntax

byte[] Protect(
    byte[] userData
)
array<unsigned char>^ Protect(
    array<unsigned char>^ userData
)
abstract Protect : 
        userData:byte[] -> byte[]
Function Protect (
    userData As Byte()
) As Byte()

Parameters

  • userData
    Type: System.Byte[]

    The original data that must be protected.

Return Value

Type: System.Byte[]

See Also

IDataProtector Interface
Microsoft.Owin.Security.DataProtection Namespace

Return to top