GetAllStaticIPs メソッドは、ローカル コンピューター上のすべての静的 IP アドレスの一覧を返します。
構文
void GetAllStaticIps(
string IPs[]
);
パラメーター
IP
[out]ローカル コンピューター上の静的 IP アドレスを含む文字列の配列を返します。
要求事項
Windows Server 2022、Windows Server 2019、Windows Server 2016、Windows 11、Windows 10
こちらもご覧ください
WmiSnaLinkServiceMS WMI プロバイダー クラス
MsSna_LinkService_IpDlc クラス
管理および管理プログラマ ガイド