How to send a message on SNMP trap protocol from C# app? - c#

How to send a message on SNMP trap protocol from C# app?
What's the best way to do that and how? someone did it before and can give me instructions please?
I have looked around the net for a guide in c#, but I found nothing. I would like to have an easy to understand explanation of how to do it.
Whenever someone clicks on a button or does something important, I just want to be able to write a log entry for it. So, really all I need is an example on how you send entries.
I don't have any example code of what I already did because I found nothing that I can show off. I hope that i don't break the rules of this site by not showing any code already. But believe me, I tried to look around the net for it.
Thanks a lot for your help guys!

Related

How to check if android system is register with Knox

I'm currently working on an application (c# and Xamarin) and within it, I have a part that is checking our servers for if there are any updates available. However, I want to have a check at this point and see if the device is managed by Samsun Knox, which would change the message/action that would occur depending. I have the logic and everything for the update figured out, but have been unable to figure out how to check this permission. I believe this information is stored on the device, but I don't know how to access it. I attached an example of what how I know it is here.
Any help your can give on how to get this would be greatly appreciated :)
I have been researching the Samsung Knox SDK, but haven't found anything useful.

What's the proper way to use SignalR in NetCore Console and winform?

I need to build a proof o concept for a project, but I'm having troubles finding some good online resources as all the tutorials are just talking about webpages and so on.
I need to understand how to have a console app acting as a server/hub in SignalR and a Winform/Wpf acting like a client.
Can anyone point me to the right direction? I'm not gonna post any code in my question just because basically I don't have nothing and I'm still trying to understand where to start. Thanks

Bricked Netduino 3 WIFI & Netduino Plus 2

I hope someone here can help me. I've managed to brick two Netduinos today. It happens when I run the following code: http://pastebin.com/DjUbM3hN
I found the code example here and from what people say, it should be working just fine. I don't know if my hardware setup can have caused any issues?
But the problem is, when I run the code, then Visual Studio isnt able to find the debugger engine, and after that I cant do anything on either device. I've tried to ping it with MFDeploy, but no luck there either. I am really unsure what happened and what to do from here.
Let me know if anymore details are needed in order to help me. Any help is highly appreciated!
I found a solution here. Really easy. Takes about 2 minutes to reset it with this guide: http://forums.netduino.com/index.php?/topic/11842-how-to-recover-non-responding-netduino-3/#entry62928

Listening to a POS Epson Printer (tm-h6000iii) from a web page

I'm currently attempting to see if it is possible to move a desktop based POS system to an MVC. So far using the Neodynamic Web Print Library (http://www.neodynamic.com/articles/How-to-print-raw-ESC-POS-commands-from-ASP-NET-directly-to-the-client-printer/) I've been able to utilize ESC/P commands to both print from a web page as well as send a drawer kick command.
My next goal is to see if it is at all possible to get data back from the printer. The reason I need to do this is so that I can validate things like the drawer status, slip printer in use, and paper jam etc. So far I've attempted to use the ePOS-print sdk (http://www.novopos.ch/client/EPSON/TM-T88V-i%20und%20Epson%20TM-T70-i/ePOS-Print-API/ePOS-Print_API_UM_E_RevB.pdf) but it appears that it's not possible to utilize it for any EPSON printer that is not classified as a TM-Intelligent printer. I contacted EPSON with this same question and they were very dismissive saying that I would just need to use their ASB commands but I don't see how that could possibly work when sending RAW data from a web page.
I've done a little research into signalr but i didn't find anything that i thought i would be able to use.
I'd prefer to find a way to do this without installing anything on a client's computer but if I have to install some sort of web socket in order to do this it'd be understandable.
Essentially what I need to know is
Is this even possible?
If it is possible, what do you think is the best method to pursue?
I really just need some guidance so that I can focus my research on something that might actually work. Thanks in advance for your time!
You have to install something client side. There are no standards for doing this. Which is the problem that Web-based POSes are wrestling with (such as Vend). The way they get around this is using printers which can talk the web themselves, something like Google cloud print.
I see that Neodynamic DO install something client side, so you could ask them to enhance their software.

Controlling ffdshow from .Net

ffdshow has this awesome little API for controlling playback of video files. It allows you to change subtitles, fast forward, get the name of the file playing, etc...
Its implemented as a windows message loop that accepts user messages and posts data back using WM_COPYDATA.
I would like a c#/vb class that will allow me to perform all the control. (send and receive messages). I know how to write this. I'll probably create a hidden window hook up a windows message loop and send messages back and forth.
I would like to know if someone has already done this, cause implementing it is a bit fiddly, and this is for an open source project anyway so I have very limited time to work on it.
This question remains unanswered, the bounty system chose a wrong answer for this question.
Looks like the FFDShow-tryout guys already built a wrapper. I haven't tested it out (probably tonight), but it looks promising.
FFDShowAPI at FFDShow's wiki page
A plugin in class has been created and is available here:
http://damienbt.free.fr/Information.htm

Categories