Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何检测nfc芯片的可写容量_C#_Windows Phone 8_Nfc_Proximity - Fatal编程技术网

C# 如何检测nfc芯片的可写容量

C# 如何检测nfc芯片的可写容量,c#,windows-phone-8,nfc,proximity,C#,Windows Phone 8,Nfc,Proximity,我想知道标签的可写容量 我在做什么: 订阅消息 m_proxdevice.SubscribeFormMessage(“WriteableTag”, OnTagDetect) 收到消息 专用无效OnTagDetect(ProximityDevice发送器, ProximityMessage(代理消息) 但每次的容量只有4。我做错了什么,但是什么 提前谢谢 message.Data.Capacity是错误的属性 使用 相反 { System.Diagnostics.Debug.Wri

我想知道标签的可写容量

我在做什么:

  • 订阅消息
m_proxdevice.SubscribeFormMessage(“WriteableTag”, OnTagDetect)

  • 收到消息
专用无效OnTagDetect(ProximityDevice发送器, ProximityMessage(代理消息)

但每次的容量只有4。我做错了什么,但是什么


提前谢谢

message.Data.Capacity是错误的属性

使用

相反

{

   System.Diagnostics.Debug.WriteLine(message.Data.Capacity.ToString());

}
int writeableSize = System.BitConverter.ToInt32(message.Data.ToArray(), 0);