RequestExtensions.ToUnsecureString Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)

Usage

'Usage
Dim securePassword As SecureString
Dim returnValue As String

returnValue = RequestExtensions.ToUnsecureString(securePassword)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToUnsecureString ( _
    securePassword As SecureString _
) As String
[ExtensionAttribute] 
public static string ToUnsecureString (
    SecureString securePassword
)
[ExtensionAttribute] 
public:
static String^ ToUnsecureString (
    SecureString^ securePassword
)
/** @attribute ExtensionAttribute() */ 
public static String ToUnsecureString (
    SecureString securePassword
)
ExtensionAttribute 
public static function ToUnsecureString (
    securePassword : SecureString
) : String

Parameters

  • securePassword

Return Value

Returns String.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

RequestExtensions Class
RequestExtensions Members
Microsoft.OneGet.ServicesProvider.Common Namespace