raspi / WinLLDPService

LLDP Service for Windows
https://raspi.github.io/projects/winlldpservice/
79 stars 13 forks source link

2012R2 The network card description has a Chinese character,Packet sent failed: #26

Open jackwang713 opened 4 years ago

jackwang713 commented 4 years ago

vmware nic desc: intel 82574l 千兆网络连接 windows 2012R2 winpcap 413 v18.02.20.0506 X64

Packet sent failed: System.ArgumentOutOfRangeException: 在多字节的目标代码页中,没有此 Unicode 字符可以映射到的字符。 (异常来自 HRESULT:0x80070459) 在 System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr ptr, Object structure, Boolean allowValueClasses) 在 System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr ptr, Type structureType) 在 SharpPcap.WinPcap.WinPcapDeviceList.Devices(String rpcapString, RemoteAuthentication remoteAuthentication) 在 SharpPcap.WinPcap.WinPcapDeviceList.Refresh() 在 SharpPcap.CaptureDeviceList..ctor() 在 WinLLDPService.WinLLDP.Run() 在 WinLLDPService.WinLLDPService.SendPacket(Object source, ElapsedEventArgs ea)

raspi commented 4 years ago

Does this happen with Npcap also?

jackwang713 commented 4 years ago

Npcap should have been tested at the time of the test, and I remember having the same problem. Now that the test virtual machine has been replaced with a vmware network card, there is no way to test it again.

jackwang713@163.com

发件人: Pekka Järvinen 发送时间: 2020-09-24 18:17 收件人: raspi/WinLLDPService 抄送: jackwang713; Author 主题: Re: [raspi/WinLLDPService] 2012R2 The network card description has a Chinese character,Packet sent failed: (#26) Does this happen with Npcap also? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.