Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I create a function in c# to query ikea tradfri, here the result :
"<//15001/65536>;ct=0;obs,<//15001/65537>;ct=0;obs,<//15004/136834>;ct=0;obs,<//15005/136834/217609>;ct=0;obs,<//15005/136834/218326>;ct=0;obs,<//15005/136834/224384>;ct=0;obs,<//15005/136834>;ct=0;obs,<//15001>;ct=0;obs,<//15001/reset>;ct=0,<//status>;ct=0;obs,<//15005>;ct=0;obs,<//15004>;ct=0;obs,<//15004/add>;ct=0,<//15004/remove>;ct=0,<//15006>;ct=0;obs,<//15011/15012>;ct=0;obs,<//15011/9034>;ct=0,<//15011/9030>;ct=0,<//15011/9031>;ct=0,<//15011/9063>;ct=0,<//15011/9033>;ct=0,<//15010>;ct=0;obs"
Now I need to isolate everything that start with //15001/
I try JavaScript serializer or Newsoft but I don't achieve to get everything in order to go through.
Do you have tips to deserialize this kind of data in c# ?
thank for your help !
It looks like you are trying to query a CoAP service/endpoint. Awesome stuff, fortunately theres already open source implementations of the CoAP standard, including resource parsing, URI resolution, among others.
Here's a C# library that's linked from the CoAP Wiki page
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 days ago.
Improve this question
I am trying to create a piece of software than can manage your computer and clean some things up, and one of the things I am trying to incorporate is adblocking.
I have looked online multiple times for something like this, but haven't found anything. The most I amounted to is the webbrowser class.
If someone could help me discern how to change an html file using the webbrowser class, that would be greatly appreciated.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 11 months ago.
Improve this question
I have software that takes your request, And I want to control requests with the plugins.
Fore example console writes: Enter Request: and i write time
well, Now I want the software to check if any plugin supports this command and then turn back the time and more (day, mouth, list of plugins, ...).
I looked at other sources but could not implement the project.
I hope someone can help me. :) Thanks.
I think you can adapt this MS tutorial and get what you want.
https://docs.miosoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support
It shows how to load pluggins and execute. From what you are describing this is what you are looking.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Everyone,
I have issue about generating Agora.io C# dynamic key generating.
Who has experience on Agora.io, please help me.
https://github.com/AgoraIO/AgoraDynamicKey
Agora sample github doesn`t have C#.
And now I am using C# Asp.net, So I need to generating Agora.io key on C#.
Please give me help.
You don't need actually need to use C# for this.
You can use any of the provided libraries and just host the dynamic key script on a server somewhere and request the token that way.
If you are looking to port it to C# for some reason, this is the main function to look at
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My adviser told me to use Accord Framework for C# to extract features and patterns from images. Our project is about image analysis and comparison of tobacco leaves. Does anyone here have an idea on how to do it? Thank you.
This is pretty high level stuff, but from what I've learned in my time faffing with it, I'd use the Accord.Imaging library to scan your pictures. Followed by using the Accord.Neuro namespace to "learn" from some manual data you feed into it.
Seems your goal is to create a program that scans images quickly, gleaning only the useful data from the full image, and then checking for some particular features of the image. I've never used the library, but it looks like it'd be possible to use it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
We get token key values in the following format shown below. What is the efficient way to extract the amount and currency code key values?. I am trying to use Split method but not sure if that is the best way.
"{\"Amount\":12.0,\"CurrencyCode\":\"840\"}"
use JSON.NET http://www.newtonsoft.com/json . Is a popular JSON parser for .NET. You can call JObject.Parse ("yourtext"); and then you can inspect your JSON. For documentation, please follow this link http://www.newtonsoft.com/json/help/html/Introduction.htm.
Happy coding!