public class OperatingSystem extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.OperatingSystem
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.OperatingSystem
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OperatingSystem() |
OperatingSystem(java.lang.Object instance)
Internal constructor.
|
OperatingSystem(PlatformID platform,
Version version) |
| Modifier and Type | Method and Description |
|---|---|
static OperatingSystem |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OperatingSystem, a cast assert is made to check if types are compatible. |
NetObject |
Clone() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
GetObjectData(SerializationInfo info,
StreamingContext context) |
PlatformID |
getPlatform() |
java.lang.String |
getServicePack() |
Version |
getVersion() |
java.lang.String |
getVersionString() |
static boolean |
IsAndroid() |
static boolean |
IsAndroidVersionAtLeast(int major,
int minor,
int build,
int revision) |
static boolean |
IsBrowser() |
static boolean |
IsFreeBSD() |
static boolean |
IsFreeBSDVersionAtLeast(int major,
int minor,
int build,
int revision) |
static boolean |
IsIOS() |
static boolean |
IsIOSVersionAtLeast(int major,
int minor,
int build) |
static boolean |
IsLinux() |
static boolean |
IsMacCatalyst() |
static boolean |
IsMacCatalystVersionAtLeast(int major,
int minor,
int build) |
static boolean |
IsMacOS() |
static boolean |
IsMacOSVersionAtLeast(int major,
int minor,
int build) |
static boolean |
IsOSPlatform(java.lang.String platform) |
static boolean |
IsOSPlatformVersionAtLeast(java.lang.String platform,
int major,
int minor,
int build,
int revision) |
static boolean |
IsTvOS() |
static boolean |
IsTvOSVersionAtLeast(int major,
int minor,
int build) |
static boolean |
IsWasi() |
static boolean |
IsWatchOS() |
static boolean |
IsWatchOSVersionAtLeast(int major,
int minor,
int build) |
static boolean |
IsWindows() |
static boolean |
IsWindowsVersionAtLeast(int major,
int minor,
int build,
int revision) |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public OperatingSystem()
throws java.lang.Throwable
java.lang.Throwablepublic OperatingSystem(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic OperatingSystem(PlatformID platform, Version version) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public static OperatingSystem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OperatingSystem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOperatingSystem instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public PlatformID getPlatform() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getServicePack()
throws java.lang.Throwable
java.lang.Throwablepublic Version getVersion() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getVersionString()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
FormatException,
OverflowException
public static boolean IsAndroid()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsAndroidVersionAtLeast(int major,
int minor,
int build,
int revision)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsBrowser()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsFreeBSD()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsFreeBSDVersionAtLeast(int major,
int minor,
int build,
int revision)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsIOS()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsIOSVersionAtLeast(int major,
int minor,
int build)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsLinux()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsMacCatalyst()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsMacCatalystVersionAtLeast(int major,
int minor,
int build)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsMacOS()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsMacOSVersionAtLeast(int major,
int minor,
int build)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsOSPlatform(java.lang.String platform)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionpublic static boolean IsOSPlatformVersionAtLeast(java.lang.String platform,
int major,
int minor,
int build,
int revision)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
public static boolean IsTvOS()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsTvOSVersionAtLeast(int major,
int minor,
int build)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsWasi()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsWatchOS()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsWatchOSVersionAtLeast(int major,
int minor,
int build)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsWindows()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsWindowsVersionAtLeast(int major,
int minor,
int build,
int revision)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject