~ruther/NosSmooth.Local

279f353f9bfe7902d3503f58ef0cec45118c93b5 — Rutherther 2 years ago b4c40c3
docs(injector): update Inject documentation
1 files changed, 16 insertions(+), 0 deletions(-)

M src/Inject/NosSmooth.Injector/NosInjector.cs
M src/Inject/NosSmooth.Injector/NosInjector.cs => src/Inject/NosSmooth.Injector/NosInjector.cs +16 -0
@@ 42,6 42,14 @@ public class NosInjector
    /// </summary>
    /// <remarks>
    /// The dll must also have .runtimeconfig.json present next to the dll.
    ///
    /// The method you want to call has to be marked with UnmanagedCallersOnly,
    /// has to be the default convention, return an integer (that will be returned out of this method)
    /// and accept one argument. That argument should accept a pointer do byte array containing data from <paramref name="data"/>.
    /// One possibility is to use <see cref="nuint"/>.
    ///
    /// Parsing data is up to the user, no format is specified, the array length is not passed to the
    /// injected dll, so you better know the size prior to calling or store the size in the beginning of the array.
    /// </remarks>
    /// <param name="processId">The id of the process to inject to.</param>
    /// <param name="dllPath">The absolute path to the dll to inject.</param>


@@ 67,6 75,14 @@ public class NosInjector
    /// </summary>
    /// <remarks>
    /// The dll must also have .runtimeconfig.json present next to the dll.
    ///
    /// The method you want to call has to be marked with UnmanagedCallersOnly,
    /// has to be the default convention, return an integer (that will be returned out of this method)
    /// and accept one argument. That argument should accept a pointer do byte array containing data from <paramref name="data"/>.
    /// One possibility is to use <see cref="nuint"/>.
    ///
    /// Parsing data is up to the user, no format is specified, the array length is not passed to the
    /// injected dll, so you better know the size prior to calling or store the size in the beginning of the array.
    /// </remarks>
    /// <param name="process">The process to inject to.</param>
    /// <param name="dllPath">The absolute path to the dll to inject.</param>

Do not follow this link