Esempio n. 1
0
        internal static bool SetEntryRaw(string name, byte[] value, bool force = false)
        {
            UIntPtr size;

            byte[] namePtr = CreateUTF8String(name, out size);
            int    retVal  = Interop.NT_SetEntryRaw(namePtr, size, value, (UIntPtr)value.Length, force ? 1 : 0);

            return(retVal != 0);
        }