试试这个
[DllImport("netapi32.dll",CharSet=CharSet.Auto)]
static extern int NetServerGetInfo(
[MarshalAs(UnmanagedType.LPWStr)] string server,
UInt32 level,
ref SERVER_INFO_101 pBuf);
[DllImport("netapi32.dll",CharSet=CharSet.Auto)]
static extern int NetServerGetInfo(
[MarshalAs(UnmanagedType.LPWStr)] string server,
UInt32 level,
ref SERVER_INFO_101 pBuf);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货