[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
public struct IP_ADDRESS_STRING
{
[MarshalAs(UnmanagedType.ByValTStr, SizeConst=16)]
public string Address;
}
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi)> _
Private Structure IP_ADDRESS_STRING
<MarshalAs(UnmanagedType.ByValTStr, SizeConst:=(4 * 4))> _
Dim value As String
End Structure
None.
None.