c# – MQTT vs. XMPP Which Should I Choose?-ThrowExceptions

Exception or error: Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 12 months ago. Overview I am sending messages back and forth between a client (Android phone) and a Server …

c# – Xamarin forms android Application not getting DeviceToken Parse SDK-ThrowExceptions

Exception or error: I’m developing xamarin forms application for both android and iOS. I’m implementing the PushNotifications for the same using Parse SDK. I’ve added Parse.Android dll in references of .Droid project and Parse.iOS dll in references of .iOS project. My problem is sometimes on Android I’m not able to retrieve the DeviceToken. There’re no …

Convert C# hashing function into PHP-ThrowExceptions

Exception or error: I have the following function in C#, a hashing function which I need converted into PHP. I’ve tried a few things in PHP but I don’t get the same results (I’m not at all good with .NET) private static string GetSignature(string args, string privatekey) { var encoding = new System.Text.ASCIIEncoding(); byte[] key …

c# – Class vs. Interface-ThrowExceptions

Exception or error: I have a quite basic question: When should we decide to use Interface or Class for a specific class? For example: says we have 2 classes, Customer and Doctor. In Inheritance (class): we could set these 2 classes to inherit from parent class Person. Couldn’t we do the same with Interface? Says …