About 3,170 results
Open links in new tab
  1. SecureString Class (System.Security) | Microsoft Learn

    Examples The following example demonstrates how to use a SecureString to secure a user's password for use as a credential to start a new process.

  2. c# - Using SecureString - Stack Overflow

    If you're collecting a SecureString from keystrokes, you don't actually have an original string. This, I believe, was the original intent of SecureString.

  3. How to encrypt credentials & secure passwords with PowerShell

    Sep 18, 2025 · A SecureString in PowerShell is an encrypted object that stores sensitive information, such as passwords, to prevent exposure during PowerShell script execution.

  4. How to Use Secure Strings in PowerShell Scripts – The EckMan

    Jan 9, 2025 · In PowerShell, a secure string is a way to store sensitive information, like passwords, in a more secure manner. Secure strings encrypt the data in memory so it’s not stored in plain text.

  5. Mastering PowerShell SecureString: Your Essential Guide

    SecureString is a special data type in PowerShell designed to securely handle sensitive information, such as passwords and personal data. It implements encryption to protect the data in memory, …

  6. SecureString's cross-platform pitfalls revealed | PowerShell tip

    May 22, 2025 · Is your data really secure? Protect sensitive information, learn about SecureString's strengths and limitations. We reveal its cross-platform pitfalls.

  7. Working with SecureString in - Jonathan Crozier

    Apr 7, 2022 · How does SecureString work? SecureString is designed to store data more securely than the managed string type. It attempts to do this by leveraging the protection mechanisms of the …

  8. C# - Secure string handling | Skjoldrun Knowledgebase

    SecureString was introduced in earlier versions of .NET as a way to store sensitive text data more securely by encrypting the contents in memory and minimizing exposure.

  9. How to Convert String to SecureString Explicitly in C#: Textbox Input ...

    Dec 12, 2025 · Converting these strings to `SecureString` explicitly is critical to mitigating security risks. This guide will walk you through converting textbox input to `SecureString` in C#, covering best …

  10. ConvertTo-SecureString (Microsoft.PowerShell.Security) - PowerShell

    The secure string created by the cmdlet can be used with cmdlets or functions that require a parameter of type SecureString. The secure string can be converted back to an encrypted, standard string using …