I'm trying to connect my C# application to Encrypted PIN Pad through CEN/XFS.
I installed and read protocol documentation from CEN website. During my research I read that I should use msxfs.dll to connect to XFS Manager which is build in C language (at least that what I read), and there is no documentaion regarding this dll as Microsoft don't own it, and it follow CEN standards.
I'm lost and looking for some guidance regarding my starting point:
Should I copy msxfs.dll beside my application and start calling msxfs.dll functions depending on CEN specicifations.
Or I'm moving in the wrong path, and there is another way to build integration?
If anyone has any article or tutorial regarding how to connect to CEN/XFS using C# that will be very helpful, all the samples I found was through using j/xfs or they were describing how to build SPI functions not how to consume API functions.
Related
I am new in SIP Programming, while searching on Google "voip sdk c# open source github", I got reference of sipsorcery. I had downloaded it and try to play with samples but I am unable to execute it. I had search tutorials on google and youtube but I can't found any.
https://github.com/sipsorcery/sipsorcery
Please someone guide if I have to implement sipsorcery (Video and Audio Call) then How can I setup Server, which support to multiple client.
Thanks in advance,
Best way to get started are the example applications:
Get Started Audio,
Get Started Video you will need something to call such as MicroSIP.
All the examples are .NET Core or Framework applications and can be generally be executed from the command line with dotnet run. If you have problems with them, or the library, I'd recommend the asking on the GitHub Issues page.
Also note that the sipsorcery project is library not a Server application. It can be used to build server applications but the only ones available in the repo are examples.
I am developing a C# program in WPF which scans a fingerprint, stores it somewhere on local disk and then read it in another program for further manipulation.
For fingerprint scanning, i am having futronic device FS80. I have got all the required dlls in the CD but the biggest problem for me is those dlls are not valid COM components so not able to add them as a reference in my project. Anyhow I managed to add them using dllImport through coding but now I dont know which are the functions the dll contains and what are their parameters and use.
Totally stuck at the first phase only. Very frustrating because its my first attemp with wpf and device integration.
Can anyone please guide me how to integrate FS80?
I searched on futronic site but they are only providing sample exe and no code.
If anyone is having any type of idea please share.
I found something helpful.
http://read.pudn.com/downloads110/sourcecode/math/457634/FingerprintDemo/fingerprint/ftr%20scanner/ftrScanAPI.h__.htm
It is not in C# but it will give an idea
My C# program generates both training and testing data. I need to use Back Propagation Neural Network/ Multilayer perceptron in Weka GUI for classification & testing. Currently I'm supplying the testing data manually.
As my C# program generates test data, this has to be supplied automatically to the Multilayer perceptron in the weka. This is a Kinect application written in C#.
Is there a solution for automatic testing of data using weka?.
So that my application works without my manual intervention.
Thanks in advance.
Weka has a Java API that that can be used to access the majority of the features exposed in the GUI. Plenty of documentation is available on their website. A good starting point is this guide to using WEKA in Java Code.
The problem here is to link C# code with Weka(Java). For this, I found CSharpJavaMerger. But we need to get the source code of Weka which is in Java, use the merger software for converting and thus link it to C# code.
I am writing a c# winform desktop application that is in contact with a MYSQL database. Of course I cannot leave the database credentials out in the open hard-coded into the application, so where can I store this information so that a nosey customer will have an extremely tough time locating it?
I understand that if someone is very determined to find this information they will most likely do just that, but I want to be able to hide these credentials from the average Joe, leaving me with some peace of mind at the end of the day.
If your answer is to encrypt the credentials, and hard code the encrypted values into the program, please explain which encryption methods to use. Furthermore, where would I store the necessary decryption/encryption keys?
I very much look forward to some interesting responses.
Thank you,
Evan F.
http://www.ezzylearning.com/tutorial.aspx?tid=8067328
Store it in App.Config File.
Check out above tutorial.
You can also check this good article by Microsoft which teach you how to encrypt and retrieve.
http://msdn.microsoft.com/en-us/library/ms254494.aspx
One of Previous Posts
if you have installed Microsoft Enterprise Library, you can easily encrypt/decrypt using its tool as mentioned in this link
http://davidhayden.com/blog/dave/archive/2006/01/23/2744.aspx
http://davidhayden.com/blog/dave/archive/2006/03/02/2870.aspx
Also, after the installation, open the project in studio and right click on the web.config or app.config and you will see the option for the configuration though Enterprise Library. This option is available in Visual Studio 2005 but I cannot see this in Visual Studio 2008 yet. Not sure whether its not compatible with 2008 or I have to follow some installation sequences. I will let you guys know if I come across with any solutions.
This is the link which explains how to work with encryption within studio http://www.pnpguidance.net/Post/EnterpriseLibrary3VisualStudioIntegratedConfigurationEditor.aspx . Read, read & read...
Keep in mind that once you open the .config file you have luxuary of ecrypting each pieces/blocks seperately. Thats the beatuy of it.
For your information I am using Enterprise Library 3.1 which is the latest version and has tonnes of tools that makes your life a breeze. You can download this library at http://msdn2.microsoft.com/en-us/library/aa480453.aspx. Also, look forward for 4.0 at http://www.codeplex.com/entlib
Bottom line you can search google along these lines and I am sure it will give you the whole process.
Has anybody used Mapnik for rendering Maps from .net c# environment? I would like to use it to render maps in a desktop application developed under .net4. I found it the best open source map renderer tool, much more better, than the well known sharpmap, dotspatial (...). The 'only' problem is that it was written in C++ and Python and does not have a trivial way to use it from C#.
Do you know any .net Mapnik wrappers? Do you know any sample code?
I've just published my attempts in C# bindings.
They are available at: http://sourceforge.net/projects/mapniknet/
Some good new about Mapnik-.Net integration:
"Another thing that will help Windows developers is a way to use Mapnik from .Net languages. Although a full .Net wrapper is too much work besides all the other issues, hopefully I can make a meaningful start and open the door for .Net developers to leverage Mapnik in their applications."
Source: Mapnik homepage http://mapnik.org/news/2011/jun/09/gsoc_2011_windows_build_system_introduction/
NET-Mapnik
You might want to give this a try. Its pretty recent and has a simple example with options to create vector tiles.
https://github.com/kernelsanders/NET-Mapnik
So, finally I hacked it. Not a nice solution, but it works at least. In nutshell it operates in the following way:
developed a python script, which takes parameters as command line arguments. (using python api of mapnik)
call this python script by shell fom c# code (Process)
after map image has been generated, I show it in SharpMap as a background layer
In case of any map refresh (zoom, pan) I regenerate 'mapnik map layer'. I have also some kind of cache, in which I can store generated maps, so I can make tricks by using earlier generated map images or pre-generate them (e.g. generate maps for the next zoom level when user uses zoom tool). I also use some asynchron calls to do this, so I can create 1-3 map images paralelly.
The weak part of this solution is the communication between python and c# modules. I could not find better than command line arguments + shell.
My solution works, mapnik is fast, can genarate my maps less than a sec.
If you have any advice on .net - python communication (NO ironpython, it is not suitable for manik api), pls write it here. Thx.
Do you know about TAO Project?
It is a .Net project that takes unmanaged opengle library to .Net Managed Form by calling DllIMport() in C#.
You must do it for Mapnik, simaliar to TAOFramework.net