Windows error 0x80090026, -2146893786

Detailed Error Information

NTE_INVALID_HANDLE[1]

MessageThe supplied handle is invalid.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode9 (0x009)
NameFACILITY_SSPI[2][1]
DescriptionThe source of the error code is the Security API layer.[2][1]
Error Code38 (0x0026)

Questions

2votes
2answers

Simple way to encrypt data in winrt

I am trying to encrypt a string with Windows RT. Before it was possible to use the ProtectData in the system.security namespace but that does not exist in WinRT. I tried to use the following code but it does not work. public static async Task<string> EncryptSting(string data) { DataProtectionProvider provider [...] read more
encryption
windows-runtime
data-protection

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0