Class OSUtils
Contains static methods and properties related to the operating system.
public static class OSUtils
- Inheritance
-
OSUtils
Methods
- FindNativeDll(string)
Tries to find native library in the subfolder of the application.
- GetLibraryExtension()
Gets dynamic library extension depending on the current operating system.
- GetLoadedLibraries()
Retrieves a list of loaded native libraries (Windows, Linux, macOs).
- GetNativeModuleName(string)
Adds an extension to the specified native module name. The extension depends on the operating system.
- HiWord(IntPtr)
Retrieves the high-order word from the given value.
- LoWord(IntPtr)
Retrieves the low-order word from the specified value.
- Sleep(int)
Suspends the execution of the current thread for a specified interval.
- TryGetFullPathForCommand(string)
Tries to get the full path for a given command.