NeatUpload Documentation

ObjectProtector.Unprotect Method (String)

Converts a secure string back to the object tree it represents.

public static object Unprotect(
   string secureString
);

Parameters

secureString
a String returned by an earlier call to Protect

Return Value

the object that was passed to Protect

Remarks

The encryption key and algorithms specified in the encryptionKey, encryption, and validation attributes of the <neatUpload> element are used to decrypt the ciphertext. They must have the same values as they did when Protect was called or an exception will occur.

Exceptions

Exception Type Condition
throws an Exception if the signature is not valid.

See Also

ObjectProtector Class | Brettle.Web.NeatUpload Namespace | ObjectProtector.Unprotect Overload List