public sealed class UtilWindows
Public NotInheritable Class UtilWindows
Dim instance As UtilWindows
public ref class UtilWindows sealed
[<SealedAttribute>]
type UtilWindows = class end
No code example is currently available or this language may not be supported.
CurrentArchitecture | Determines whether the architecture of the current operating system is 32 or 64 Bits. |
IsVirtualMachine | Determines whether the current application is running in a Virtual Machine OS. The detection algorithm is compatible with: Virtual-Box, VMWare, and QEmu. |
IsWin10 | Gets a value that determines whether the current operating system is Windows 10. |
IsWin10OrGreater | Gets a value that determines whether the current operating system is Windows 10, or greater. |
IsWin11 | Gets a value that determines whether the current operating system is Windows 11. |
IsWin11OrGreater | Gets a value that determines whether the current operating system is Windows 11, or greater. |
IsWin7 | Gets a value that determines whether the current operating system is Windows 7. |
IsWin7OrGreater | Gets a value that determines whether the current operating system is Windows 7, or greater. |
IsWin8 | Gets a value that determines whether the current operating system is Windows 8. |
IsWin81 | Gets a value that determines whether the current operating system is Windows 8.1. |
IsWin81OrGreater | Gets a value that determines whether the current operating system is Windows 8.1, or greater. |
IsWin8OrGreater | Gets a value that determines whether the current operating system is Windows 8, or greater. |
IsWinVista | Gets a value that determines whether the current operating system is Windows VISTA. |
IsWinVistaOrGreater | Gets a value that determines whether the current operating system is Windows VISTA, or greater. |
IsWinXP | Gets a value that determines whether the current operating system is Windows XP. |
IsWinXPOrGreater | Gets a value that determines whether the current operating system is Windows XP, or greater. |
MostRecentInstalledFrameworkVersion | Gets a value that determines which is the most recent version of the .NET Framework runtimes installed on the current machine. |
OsName | Gets the full name of the operating system. |
SystemIdleTime | Retrieves the time of the last input (mouse or keyboard) event in the operating system. That is, the last time the user has pressed a key or used the mouse. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |