System.Security.SecureString
Provides the System.Security.SecureString class, which represents text that should be kept confidential. The text is encrypted for privacy when being used, and deleted from computer memory when no longer needed. Commonly Used Types: System.Security.SecureString System.Security.SecureStringMarshal When using NuGet 3.x this package requires at least version 3.4.
Install
dotnet add package System.Security.SecureString --version 4.0.0
Install-Package System.Security.SecureString -Version 4.0.0
<PackageReference Include="System.Security.SecureString" Version="4.0.0" />
Frameworks
Dependencies
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 8 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.