PermissionSet::ConvertPermissionSet Method (String^, array<Byte>^, String^)
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Security
Assembly: mscorlib (in mscorlib.dll)
Return to top
This API supports the product infrastructure and is not intended to be used directly from your code.
Converts an encoded PermissionSet from one XML encoding format to another XML encoding format.
Assembly: mscorlib (in mscorlib.dll)
public: [ObsoleteAttribute("This method is obsolete and shoud no longer be used.")] static array<unsigned char>^ ConvertPermissionSet( String^ inFormat, array<unsigned char>^ inData, String^ outFormat )
Parameters
- inFormat
-
Type:
System::String^
A string representing one of the following encoding formats: ASCII, Unicode, or Binary. Possible values are "XMLASCII" or "XML", "XMLUNICODE", and "BINARY".
- inData
-
Type:
array<System::Byte>^
An XML-encoded permission set.
- outFormat
-
Type:
System::String^
A string representing one of the following encoding formats: ASCII, Unicode, or Binary. Possible values are "XMLASCII" or "XML", "XMLUNICODE", and "BINARY".
Return Value
Type: array<System::Byte>^An encrypted permission set with the specified output format.
| Exception | Condition |
|---|---|
| NotImplementedException | In all cases. |
Do not use this method.
.NET Framework
Available since 1.1
Available since 1.1
Show: