¡@

Home 

c# Programming Glossary: hkey

How to apply Windows group policy using .NET?

http://stackoverflow.com/questions/2266797/how-to-apply-windows-group-policy-using-net

Try using IGroupPolicyObject bool SetGroupPolicy HKEY hKey LPCTSTR subKey LPCTSTR valueName DWORD dwType const BYTE szkeyValue.. BYTE szkeyValue DWORD dwkeyValue CoInitialize NULL HKEY ghKey ghSubKey hSubKey LPDWORD flag NULL IGroupPolicyObject pGPO NULL.. NULL L Failed to initialize GPO L S_OK if RegCreateKeyEx hKey subKey 0 NULL REG_OPTION_NON_VOLATILE KEY_WRITE NULL hSubKey..

How to AES-128 encrypt a string using a password in Delphi and decrypt in C#?

http://stackoverflow.com/questions/9188045/how-to-aes-128-encrypt-a-string-using-a-password-in-delphi-and-decrypt-in-c

name 'CryptDeriveKey' function CryptSetKeyParam hKey HCRYPTKEY dwParam LongInt pbData PBYTE dwFlags LongInt LongBool.. name 'CryptDestroyHash' function CryptDestroyKey hKey HCRYPTKEY LongBool stdcall external _lib_ADVAPI32 name 'CryptDestroyKey'.. Value Password string string var hCProv HCRYPTPROV hKey HCRYPTKEY lul_datalen Integer lul_buflen Integer Buffer TBytes..