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

`Boolean` CheckRemoteDebuggerPresent(`IntPtr` hProcess, `Boolean&` isDebuggerPresent)

Summary:

detects if a native debugger is attached.

Parameter:
  • `hProcess` - process handle.
  • `isDebuggerPresent` - [in,out] true if a native debugger is attached; false otherwise.


Diagnostic

A diagnostic.

public static class Exomia.Native.Diagnostic

Static Methods

`Boolean` GetSystemTimes(`FILETIME&` lpIdleTime, `FILETIME&` lpKernelTime, `FILETIME&` lpUserTime)

Summary:

<see href=">https://msdn.microsoft.com/en-us/library/ms724400(VS.85).aspx" />

Parameter:
  • `lpIdleTime` - [out] The idle time.
  • `lpKernelTime` - [out] The kernel time.
  • `lpUserTime` - [out] The user time.


Mem

Memory utils.

public static class Exomia.Native.Mem

Static Methods

`Int32` Cmp(`Void*` ptr1, `Void*` ptr2, `Int32` count)

Summary:

memcmp call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).

Parameter:
  • `ptr1` - [in,out] ptr b1.
  • `ptr2` - [in,out] ptr 2.
  • `count` - bytes to compare.

`void` Cpy(`Void*` dest, `Void*` src, `UInt64` count)

Summary:

memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.

Parameter:
  • `dest` - [in,out] destination ptr.
  • `src` - [in,out] source ptr.
  • `count` - count of bytes to copy.

`void` Cpy(`IntPtr` dest, `IntPtr` src, `UInt64` count)

Summary:

memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.

Parameter:
  • `dest` - [in,out] destination ptr.
  • `src` - [in,out] source ptr.
  • `count` - count of bytes to copy.

`void` Cpy(`Void*` dest, `Void*` src, `Int32` count)

Summary:

memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.

Parameter:
  • `dest` - [in,out] destination ptr.
  • `src` - [in,out] source ptr.
  • `count` - count of bytes to copy.

`void` Cpy(`IntPtr` dest, `IntPtr` src, `Int32` count)

Summary:

memcpy call Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.

Parameter:
  • `dest` - [in,out] destination ptr.
  • `src` - [in,out] source ptr.
  • `count` - count of bytes to copy.

`IntPtr` Set(`IntPtr` dest, `Int32` value, `Int32` count)

Summary:

memset call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).

Parameter:
  • `dest` - destination addr.
  • `value` - value to be set.
  • `count` - count of bytes.

`Void*` Set(`Void*` dest, `Int32` value, `Int32` count)

Summary:

memset call Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).

Parameter:
  • `dest` - destination addr.
  • `value` - value to be set.
  • `count` - count of bytes.


String

native String class.

public class Exomia.Native.String
    : IDisposable

Constructors

    .ctor String(String value)

`.ctor` String(`String` value, `Int32` offset, `Int32` length)

Summary:

Initializes a new instance of the `Exomia.Network.Native.String` class.

Parameter:
  • `value` - The managed string value.
  • `offset` - The offset.
  • `length` - The length.


Properties

`Int32` Length

Summary:

return the length of the current string.



Methods

    void Dispose()