What I want to do is write a text file to a smart card and read it.
WindSCard is the dll to be used but but it's functions are very cryptic.
Is there any FREE wrapper available over it and is there any tutorial that does what I want to do.
What card do you use
Are you sure you can write to the card?
Do you have the APDU manual for the card?
After you find a basic example of SCard* you need to know the right APDU-s to send to the card with SCardTransmit
Related
I am planning to create School Management System in C# and I'm gonna provide these features:
Biometric attendance system
Fee Slip Printing
I did some search and found these 2 products (fits my needs, I think):
Finger Print Reader - ZK4500
Thermal Receipt Printer - XP200 (not official link)
I was about to order these products but I read on a website, Make Sure the Device is compatible with Programming language (in my case C#). I try to find the answer on Google but no luck! :(
I am totally hopeless and helpless but still happy :) because Stack Over Flow community is always here to help and give the right direction.
So, Here are my questions:
Does these devices are configurable with C#? (if possible, please share any helpful resource)
Is it better choice to use receipt printer instead of regular printer?
Is there any better alternative available for fingerprint reader and receipt generator?
PS: I wanted to keep the printer and fingerprint reader cost as low as possible so customer can afford it easily.
I don't know about the ZK4500, but I can guarantee you that the Digital Persona U.are.U series can be used with C#. The SDK can be purchased as part of a package or standalone. I don't know how many devices you need, but I can tell you that I've had fairly good experience with the U.are.U 4500. The scanners are $99 each, SDK not included.
It also comes with examples for implementation with C#. You can choose to let the SDK handle everything for you, which means capturing a print, finding minutiae points, and creating a biometric template for you, or you can capture the raw image and do your own processing. The examples also show how to store it in your database.
Another option if you are set on a particular scanner is the neurotechnology fingerprint SDK. It includes drivers for many scanners and I can verify that it works well with C#.
Yet another option is the Griaule Biometrics SDK. This SDK also supports C# and is easy to use. It does not include drivers and only officially supports 6 scanners. Additionally, it may be a bit more difficult to get these days because Griaule recently changed their website and ended support for the older SDK. They seem to offer new SDKs, but I haven't used their newer products.
Regarding receipt printers...can't help you there.
I am building a program(in C#) and I need to download the audio from a youtube video(using the URL). I found two libraries which allow me to do it:
YotubeExtractor and libvideo(Also known as VideoLibrary), but I don't know how to use them, I mean I tried using their documentation but non of them worked.
Do you know another way which I can download or maybe explain me how to do this?
Thank you and have a nice day!
Don't use other people's code unless it's large and popular or your only option, I recommend, so that you both learn more and know how it works, as well as know how to maintain it if it breaks.
Retrieve the page using standard .NET functionality, parse out the HTML to find the video URL, download it using the same standard functionality, and then convert it to MP3 as a separate logical unit of your software.
For converting to MP3 you may well want to use someone else's library or call an external program like FFMPEG since that's not as trivial as parsing a webpage.
I'd like to be able to write some code so that given a name and a video, I can personalize the video with that person's name in it.
Eg, I want to send my family's Christmas message which is a video of us doing silly things and with a video overlay that says Merry Christmas, !
Ideally, I'd like to do this in C#.NET but am open to other technologies if they exist.
Many thanks.
The ffmpeg utility (https://www.ffmpeg.org) can do this type of thing - you should be able to find examples if you Google text or video overlays with ffmpeg:
Overlaying images on a video:
https://video.stackexchange.com/a/12111
https://superuser.com/a/683696
Overlaying text:
https://stackoverflow.com/a/10919953/334402
https://superuser.com/a/701206 (includes a watermark)
The above are all done on the command line. To include them into your c# program you can:
invoke the command line from your program
use a c# wrapper around the ffmpeg command line functionality
Directly use the libraries that ffmpeg uses
The best compromise may be the wrapper option. These exist for different languages and environments, but some examples for c#:
http://www.codeproject.com/Articles/774093/Another-FFmpeg-exe-Csharp-Wrapper
http://www.ffmpeg-csharp.com (this one is not free so check the licence...)
I am writing a sample program to send raw data to ESC/POS printers (not a specific but printers supporting esc/pos in general) using C# .net.
ESC/POS Command Reference: https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=2
So, as you can I am using that above guide to send raw data. But, I do not have a physical printer available while I am coding. So, I am looking for a temporary solution for basic testing.
Are there any virtual printer drivers available where I can send the raw data from my application to and see how it looks? For example: you can install virtual pdf printers etc. But, I need one that can parse the esc\pos and output in either *.pdf or any images or text formats.
I'm not sure if this is still applicable for you, but I've found this solution:
https://www.colorpilot.com/emfprinterpilot.html
I hope that's something you were looking for.
I want to cut some pieces of an audio to create a new audio with this pieces. What library should I use to get it?
I would like to do it with DirectSound, but I donĀ“t get with it.
Can anybody gives a clue to me about this or says me a library for c# to use?
Take a look at NAudio.
Another option is to use the command line SoX and shell out to it.