MacNativeMethods 类

定义

包含我们在 macOS 上使用的遥测库中使用的所有 PInvoke 定义的类。

public ref class MacNativeMethods abstract sealed
public static class MacNativeMethods
type MacNativeMethods = class
Public Class MacNativeMethods
继承
MacNativeMethods

方法

GetOSVersionInfo(MacNativeMethods+OSVersionInfo)

包含我们在 macOS 上使用的遥测库中使用的所有 PInvoke 定义的类。

GetSystemInfo(MacNativeMethods+SystemInfo)

包含我们在 macOS 上使用的遥测库中使用的所有 PInvoke 定义的类。

适用于