C# Class SonarLint.VisualStudio.Integration.Service.SecureStringExtensions

ファイルを表示 Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Public Methods

Method Description
CopyAsReadOnly ( this secureString ) : SecureString

Create a read-only copy of a SecureString.

Equivalent to calling SecureString.Copy followed by SecureString.MakeReadOnly.

IsEmpty ( this secureString ) : bool
IsNullOrEmpty ( this secureString ) : bool

Method Details

CopyAsReadOnly() public static method

Create a read-only copy of a SecureString.
Equivalent to calling SecureString.Copy followed by SecureString.MakeReadOnly.
public static CopyAsReadOnly ( this secureString ) : SecureString
secureString this
return System.Security.SecureString

IsEmpty() public static method

public static IsEmpty ( this secureString ) : bool
secureString this
return bool

IsNullOrEmpty() public static method

public static IsNullOrEmpty ( this secureString ) : bool
secureString this
return bool