急!!!!!!!!
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct DOT11_SSID {
public uint uSSIDLength;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
public string ucSSID;
}
需要让CharSet = CharSet.Unicode 改为 -> charset = charset.ansi;但是
using System;
namespace System.Runtime.InteropServices
{
public enum CharSet {
Unicode = 3,
Auto = 4,
}
}
不包含 怎么办??