pschelpdesk/Vendor/Prise/AssemblyLoading/NativeAssembly.cs
2024-11-04 20:45:34 +01:00

15 lines
467 B
C#

using System;
namespace Prise.AssemblyLoading
{
/// <summary>
/// Represents a native library through either its full Path or a Pointer to an assembly in memory
/// </summary>
public class NativeAssembly
{
public string Path { get; private set; }
public IntPtr Pointer { get; private set; }
public static NativeAssembly Create(string path, IntPtr pointer) => new NativeAssembly { Path = path, Pointer = pointer };
}
}