由于.p12& .net证书错误,无法从C#向Apple移动应用程序发送通知 [英] not able to send notification from C# to apple mobile app since .p12&.net certificate error
问题描述
我尝试使用MMC控制台在Windows 7中导入.cer和.p12证书,我收到ssi错误。我有deivice令牌,并在c#代码中使用,并尝试使用.p12文件到代码但没有用,并使用WinHttpCertCfg.exe工具我群但无法运行命令。
还在代码中使用了moonapns和jdsoft.apple.apns。有没有其他方法我可以成功发送推送通知到苹果手机。
请给我一个解决方案,注册.p12和.cer证书在Windows中使用并建议我如何从c#.net发送推送通知到苹果手机
错误
[ Win32Exception(0x80004005):收到的消息是意外的或格式错误的]
i have tried importing the .cer and .p12 certificate in windows 7 using MMC console and i get ssi error. i have got the deivice token and used in the c# code and also tried using the .p12 file into the code but no use and used the WinHttpCertCfg.exe tool i herd but not able to run the command.
Also used the moonapns and jdsoft.apple.apns in code. is there any other way where i can successfully send push notification to apple phone.
please give me a solution to register the .p12 and .cer certificate to use in windows and also suggest me how to send push notification from c#.net to apple phone
ERROR
[Win32Exception (0x80004005): The message received was unexpected or badly formatted]
推荐答案
这篇关于由于.p12& .net证书错误,无法从C#向Apple移动应用程序发送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!