Method WriteAllText
- Namespace
- Oscova.Agents.Secrets
- Assembly
- Oscova.Agents.dll
WriteAllText(string, string, string, IContentProtector)
Encrypts and atomically replaces a whole file.
public static void WriteAllText(string userId, string path, string plaintext, IContentProtector protector)Parameters
userIdstringpathstringplaintextstringprotectorIContentProtector