Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Exomia.Native

Daniel Baetz edited this page Jun 21, 2019 · 24 revisions

Debugger

Debugger utils.

public static class Exomia.Native.Debugger

Static Methods

Type Name Summary
Boolean
CheckRemoteDebuggerPresent(IntPtr hProcess, Boolean& isDebuggerPresent)
  • hProcess - process handle.
  • isDebuggerPresent - [in,out] true if a native debugger is attached;
                                         false otherwise.</li></ul></details> | detects if a native debugger is attached. |

Diagnostic

A diagnostic.

public static class Exomia.Native.Diagnostic

Static Methods

Type Name Summary
Boolean
GetSystemTimes(FILETIME& lpIdleTime, FILETIME& lpKernelTime, FILETIME& lpUserTime)
  • lpIdleTime - [out] The idle time.
  • lpKernelTime - [out] The kernel time.
  • lpUserTime - [out] The user time.
<see href=">https://msdn.microsoft.com/en-us/library/ms724400(VS.85).aspx" />

Mem

Memory utils.

public static class Exomia.Native.Mem

Static Methods

Type Name Summary
Int32
Cmp(Void* ptr1, Void* ptr2, Int32 count)
  • ptr1 - [in,out] ptr b1.
  • ptr2 - [in,out] ptr 2.
  • count - bytes to compare.
memcmp call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).
void
Cpy(Void* dest, Void* src, UInt64 count)
  • dest - [in,out] destination ptr.
  • src - [in,out] source ptr.
  • count - count of bytes to copy.
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
void
Cpy(IntPtr dest, IntPtr src, UInt64 count)
  • dest - [in,out] destination ptr.
  • src - [in,out] source ptr.
  • count - count of bytes to copy.
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
void
Cpy(Void* dest, Void* src, Int32 count)
  • dest - [in,out] destination ptr.
  • src - [in,out] source ptr.
  • count - count of bytes to copy.
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
void
Cpy(IntPtr dest, IntPtr src, Int32 count)
  • dest - [in,out] destination ptr.
  • src - [in,out] source ptr.
  • count - count of bytes to copy.
memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
IntPtr
Set(IntPtr dest, Int32 value, Int32 count)
  • dest - destination addr.
  • value - value to be set.
  • count - count of bytes.
memset call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).
Void*
Set(Void* dest, Int32 value, Int32 count)
  • dest - destination addr.
  • value - value to be set.
  • count - count of bytes.
memset call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).

String

native String class.

public class Exomia.Native.String
    : IDisposable

Constructors

Type Name Summary
.ctor String(String value)
.ctor String(String value, Int32 offset, Int32 length)

Properties

Type Name Summary
Int32 Length return the length of the current string.

Methods

Type Name Summary
void
Dispose()
  • disposing - True to release both managed and unmanaged resources; false to
                                 release only unmanaged resources.</li></ul></details> | Releases the unmanaged resources used by the Exomia.Native.String and optionally releases  the managed resources. |