Repository navigation
Exomia.Native
Debugger utils.
public static class Exomia.Native.DebuggerBoolean CheckRemoteDebuggerPresent(IntPtr hProcess, Boolean& isDebuggerPresent)
detects if a native debugger is attached.
-
hProcess- process handle. -
isDebuggerPresent- [in,out] true if a native debugger is attached; false otherwise.
A diagnostic.
public static class Exomia.Native.DiagnosticBoolean GetSystemTimes(FILETIME& lpIdleTime, FILETIME& lpKernelTime, FILETIME& lpUserTime)
see https://msdn.microsoft.com/en-us/library/ms724400(VS.85).aspx
-
lpIdleTime- [out] The idle time. -
lpKernelTime- [out] The kernel time. -
lpUserTime- [out] The user time.
Memory utils.
public static class Exomia.Native.MemInt32 Cmp(Void* ptr1, Void* ptr2, Int32 count)
memcmp call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).
-
ptr1- [in,out] ptr b1. -
ptr2- [in,out] ptr 2. -
count- bytes to compare.
void Cpy(Void* dest, Void* src, UInt64 count)
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
-
dest- [in,out] destination ptr. -
src- [in,out] source ptr. -
count- count of bytes to copy.
void Cpy(IntPtr dest, IntPtr src, UInt64 count)
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
-
dest- [in,out] destination ptr. -
src- [in,out] source ptr. -
count- count of bytes to copy.
void Cpy(Void* dest, Void* src, Int32 count)
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
-
dest- [in,out] destination ptr. -
src- [in,out] source ptr. -
count- count of bytes to copy.
void Cpy(IntPtr dest, IntPtr src, Int32 count)
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
-
dest- [in,out] destination ptr. -
src- [in,out] source ptr. -
count- count of bytes to copy.
IntPtr Set(IntPtr dest, Int32 value, Int32 count)
memset call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).
-
dest- destination addr. -
value- value to be set. -
count- count of bytes.
Void* Set(Void* dest, Int32 value, Int32 count)
memset call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).
-
dest- destination addr. -
value- value to be set. -
count- count of bytes.
native String class.
public class Exomia.Native.String
: IDisposable.ctor String(String value)
Initializes a new instance of the `Exomia.Network.Native.String` class.
-
value- The managed string value.
.ctor String(String value, Int32 offset, Int32 length)
Initializes a new instance of the `Exomia.Network.Native.String` class.
-
value- The managed string value. -
offset- The offset. -
length- The length.
void Dispose()