Files
modernkeepass/ModernKeePassLib/Native/Native.PCL.cs

71 lines
1.3 KiB
C#
Raw Normal View History

2017-09-22 15:40:24 +02:00
using System;
using PlatformID = System.UInt32;
namespace KeePass2PCL.Native
{
internal static class NativeLib
{
public static ulong MonoVersion {
get { throw new NotImplementedException(); }
}
public static bool IsUnix()
{
return true;
}
}
internal static class NativeMethods
{
public static bool SupportsStrCmpNaturally {
get { throw new NotImplementedException(); }
}
public static int StrCmpNaturally (string s1, string s2)
{
throw new NotImplementedException();
}
}
internal enum DataProtectionScope
{
CurrentUser,
LocalMachine
}
internal static class ProtectedData
{
public static byte[] Protect(byte[] userData, byte[] optionalEntropy, DataProtectionScope scope)
{
throw new NotImplementedException();
}
public static byte[] Unprotect(byte[] userData, byte[] optionalEntropy, DataProtectionScope scope)
{
throw new NotImplementedException();
}
}
internal enum MemoryProtectionScope
{
CrossProcess,
SameLogon,
SameProcess
}
internal static class ProtectedMemory
{
public static byte[] Protect(byte[] userData, MemoryProtectionScope scope)
{
throw new NotImplementedException();
}
public static byte[] Unprotect(byte[] userData, MemoryProtectionScope scope)
{
throw new NotImplementedException();
}
}
}