1234567891011121314151617181920212223242526272829303132333435 |
-
- namespace NRKernal
- {
- using System.Runtime.InteropServices;
-
- internal partial class NativeVersion
- {
-
-
- public static string GetVersion()
- {
- NRVersion version = new NRVersion();
- NativeApi.NRGetVersion(ref version);
- return version.ToString();
- }
- private partial struct NativeApi
- {
-
-
-
- [DllImport(NativeConstants.NRNativeLibrary)]
- public static extern NativeResult NRGetVersion(ref NRVersion out_version);
- };
- }
- }
|