how to get sharpsnmp device simulator discovered by SNMP managers? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am trying to develop a device simulator to be tested against SNMP managers during development.
It can already host objects and with their OIDs, I can already perform GET and SET for each object using an MIB browser, but what I am trying to find out is,
are there certain objects / properties i need to host in order to be discovered by SNMP managers?
Lets say I am trying to simulate a router SNMP agent. What do i need in order to make the SNMP manager 'see'/'discover' my 'device' as a router? Is there a standard way of doing it for SNMP managers? thanks
I am using C# and sharpsnmp tritonmate (8.0) .

It depends on what algorithm the manager software uses to detect the device.
The snmpd sample in #SNMP can be discovered by the corresponding snmpdiscover sample, which demonstrates a common approach to detect SNMP agents over IPv4. However, not all manager software uses the same approach. The SNMP RFC documents do not define an official way.

Related

Multiple instances of a WinForms application on one Windows system [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have a complex legacy software which is a C# WinForms application, recently upgraded to .NET Framework 4.7.2 and added with a WCF REST API for external communication.
This application requires certain files on the disk, certain partitions needs to be available (such as a D: drive) and so forth (due to a lot of hardcoded file management etc). The app also requires a license USB dongle and a big SDK framework installed on the PC.
Now we would like to run several instances of this application in one server and get results out from it via its REST API. Is there any way we can do this? I guess several virtual machines would work, but is there any other way, Docker maybe?
Docker is out. As a commenter stated, Docker is not designed to mimic real hardware. See this comparison for more information.
I suggest a traditional Windows virtual machine and something like Hyper-V USB Passthrough.

How to implement Serial Port Communication in C# to control a Cash Deposit Machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
My question may be seem too wide, but am kindly requesting for a guide or rather a starting point.
I have a project in which am required to develop a system that will control a Cash Deposit Machine. All activities like getting the amount of notes in the machine and others can easily be done from the system.
During my research, i found out that the machine uses a dll called libglorycolx2010.dll and many other modules, and that i can use Serial Port Communication to communicate with the machine.
Has anyone here ever handled such a project? How can this be implemented.Reference tutorials or links will be of great help.
Edit: I searched for documentation related to that dll and was only able to find phishy looking download sites. Assuming you don't have the documentation, your best bet is to contact the manufacturer and/or distributor of the deposit machine and find out who makes the software, and from them obtain the documentation.
The framework has built-in support for serial port comm. See the documentation and a simple example. Make sure to read up on the documentation of the deposit machine to ensure you're using the right port settings.
SerialPort provide everything you need as a turnkey solution in the .NET Framework. It easily take cares of parameters (Serial Port name, baud rate, and so on), communication, etc. I always use it when doing Serial Communication.
If you need to experiment with SerialPort, install TeraTerm and any software allowing you to virtualize paired serial port on your developing system, so you can experiment quickly and independantly from your target Cash Deposit Machine.

Send Free SMS from C#.NET Windows Application [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
So Yet another SMS question :-)
I researched, but could not find a solution to my requirements.
I do not have a GSM modem, nor can I pay for any Third-Party software for sending SMS. Also I spent quiet some time learning SMS gateways. But when I experimented with it, it failed.eg: I emailed number#textin.in but no message was received at the receiver's side!
The application I am building takes up phone-numbers from a database and sends a different SMS to each number depending on certain condition.
Being a student, I just have to look for Free websites like
http://site3.way2sms.com/content/index.html and others,but don't know how to use them programatically!
So my straightforward question is : "How can I send SMS using just the internet?".
My SMS recipients will all be resident in India. And language is C# using Visual Studio 2010.
Please Help......
Use web requests !
Here is a great examples of Web requesets usage : WebResourceProvider using C#
All you need is just inspect web portal structure and run your web bot. There could be Usual bot's trouble with Captcha but you can google solutions where you can get media (picture of captcha) to your application. (I think that is another question)
You will need to find an SMS provider that provides an API for you to access programatically.
Unfortunately, I don't think you will be able to find any provider that will let you send large amount of texts free.
Some of the providers discussed here may be useful: https://stackoverflow.com/questions/238579/free-sms-api

looking for how to transfer file to 200 terminals (windows-mobile) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
i have 200 terminals (Windows-mobile) that connect to the server Through WIFI
how i can transfer any file to all of them ?
is there any tool or can i get any C# sample code for this ?
thanks in advance
You should write some sw on the mobiles to sink the file instead of pushing on them. So each user can ask the server for transfer the file. If the file you need to transfer is a deploy of an application, you can even consider some strategy of auto upgrade as described here: http://msdn.microsoft.com/en-us/library/aa446487.aspx
You could create a log-on script assuming you have Active Directory and a friendly system administrator.
http://www.rlmueller.net/LogonScriptFAQ.htm
Microsoft have a non-free tool called System Center Configuration Manager that will do what you want. You need to install the client app on the phones first, then they poll the server for updates.
This is likely to be massive overkill for what you want but it's hard to be sure from the question.

Looking for a good SIP implementation in C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I saw a similar question from 1.5 years ago and I am hoping there is something better.
I am looking for a totally managed C# implementation because I need it for the .NET Microframework, so I can't have .NET wrappers around C code.
Has anyone run into a good C# implementation of the SIP protocol. I should not that I don't care about codecs, mostly will be dealing with call control.
My own C# SIP stack is at sipsorcery. It's far from perfect but as far as the RFC3261 core SIP standard goes it should be pretty good and you can hook into that using only SIPSorcery.Core assembly. The server applications can be disregarded if you're looking at doing some specialised call control.
I am using the ozeki voip sip sdk. It is written in c# and it provides a complete SIP implementation with all RFCs. The others I have tried were partial implementations only and didn't work with all my PBXs.
If you wish to be familiar with SIP protocol implementation then I suggest you to first read more useful information about the background of the VoIP technology. I used some examples for my project as well. I have found this explanation earlier:
The Session Initiation Protocol (SIP) is an IETF-defined signaling protocol widely used for controlling communication sessions such as voice and video calls over Internet Protocol. SIP helps in establishing communication sessions which involve various media types such as audio, video, or collaborative multimedia.
I mean, SIP protocol is very important to use when we would like to build an audio or video based application. (For example: Ozeki VoIP SIP SDK is appropriate to create SIP VoIP call services.)
The info derives from this webpage: http://voip-sip-sdk.com/p_304-sip-protocol-implementation-voip.html. I always use this website because this SDK has the best documentation which is plain and transparent to understand it.
This .NET SIP SDK is probably the most comprehensive.

Categories

Resources