Desktop Functions: Smart Device Functions:
|
Search Results for "DNS_RPC_RECORD" in [All]Structures
public struct DNS_RPC_RECORD_HEADER
public struct DNS_RPC_RECORD
private DNS_RPC_RECORD_HEADER header;
public static DNS_RPC_RECORD Load(byte[] from)
DNS_RPC_RECORD_HEADER h = (DNS_RPC_RECORD_HEADER)Marshal.PtrToStructure(
handle.AddrOfPinnedObject(), typeof(DNS_RPC_RECORD_HEADER));
DNS_RPC_RECORD r = new DNS_RPC_RECORD(); The Load method is needed because there's no way (that I can find) to have Marshal automatically put the trailing bytes into the Buffer array. I have invented the "DNS_RPC_RECORD_HEADER" type so that I can use PtrToStructure to load all the constant-sized parts automatically. |