How do I emulate a storage card in Windows Mobile 6? - c#

I have seen in many programs such as FreeOTFE that they can emulate a storage card in WinMo. It will be shown in Windows Mobile just as a storage card is inserted and i can interact with it just like a SD Card.
How do i implement that? Any tips/tricks/guides/samples?
I am using WinMo 6 Professional with Dot Net Framework :)
I know i have to use C++ with some Native APIs :) But i need to know which ones :(
Thanx a lot in advance :)

You cannot do that by means of simple application level APIs. The example you mention, FreeOTFE, installs a custom storage device driver that is identified by the file system manager in the OS as FILE_ATTRIBUTE_TEMPORARY, which together with the FILE_ATTRIBUTE_DIRECTORY means "storage card" / "removable media".

Related

VoIP/SIP Soft Phone C# WPF

I need to write VoIP/SIP Soft Phone in C# using WPF interface with Audio support only.
I need to have call transfer, call conference, and recording of conversations in mp3.
I've looked at VoIP SDK from ABTO LLC, but it is slow at application startup (30 seconds to start application, I think it's related to loading activex part of this sdk).
I've also looked at SIP.Net, but it's only for SIP and doesn't contain components for voice data transfer.
I have very limited time only 2 months from zero to fully working app.
What SDK can I use to accomplish this task?
Windows 7 must be supported.
We have done this using SipekSDK. It's written on top of famous pjSIP open source SIPClient project. It does all the operations you have mentioned in the question.
https://sites.google.com/site/sipekvoip/
What is the Sip server you are going to use ? If its not asterisk, you can have a look of microsoft's Lync here.
You can download the Lync SDK and start exploring. Not just the audio call, Microsoft Lync has features like video call, chat, presence, conference etc.... and ofcourse connectivity to landline/pstn through voip providers
Another interesting article explaining the different SDKs for unified communications can be found here
Edit: If its for Asterisk, Sipek is the only available free opensource but we had lot of problems in installing in clients system like
C folder access
Poor device
support
Port conflict- If any
other voip app like qutecom runs on
5060, then Sipek wont run as the
port is being used already.
I struggled with this exact issue and eventually came across ABTO LLC.
They have an SDK available that supports Win 7, Win XP and can be used in WPF.
We did ask them though to build a separate SDK example for us as we are using ClickOnce for our deployments and so registering external libraries is impossible, but they graciously did it and i think have integrated into their SDK, if not then ask them to give it to you.
We are using a FreeSwitch SIP Server combined with ABTO's library and it is working like a dream. We are doing VoIP, Video and Conferencing and have had no issues at all.
The application I added the VoIP functionality to is a WPF 4 app.

finger print reader for .net windows forms / WPF or silverlight client

We are designing a solution that will be used on an internal network.
One of the requirements is to have an extra level of security beyond a simple user name and password.
Does anyone have information about how to implement a finger print reader in a .net application?
We have Thinkpads with a finger print reader.
you need an sdk (software development kit) to go with your hardware. Add that to your project references and you can communicate with the device.
It has to come from the hardware vendor.
I'm not sure which reader the Thinkpad has, so I can't give you specific information.
Have a look at the BioApi. They have a c# wrapper and if your device is BioApi compliant, you should be able to get it running. (Note, I had to modify the wrapper, but it is a fine base.)
The API can be found here: API
Also one can be found here: Not sure on compatibility

C# - Fingerprint Biometrics

We are wanting to add support for fingerprint authentication in a .Net 3.5 application.
We currently are only using the sdk from Griaule. But this only supports like 5 usb plug-and-play devices. We are wanting to support most readers included with laptops, tablets, etc.
Is there a universal way to support many devices? I know there is a new standard starting with Windows 7, but we want to support XP and higher.
Is there even a .Net SDK out there for UPEK or Authentec devices?
Any ideas or help would be appreciated.
I think its best if you develop for WBF, also if you want UPEK has an API called BSAPI that you can interop in C#.
There is no universal way to support all biometric devices. This a relatively new technology and all vendors are fighting for market space any one with their own API/SDK. New modalities of biometric are been developing and no have any retro compatibility with another biometric modalities. One of these is finger and palm vein. Another it is multispectral fingerprint capture that is a patented technology.
An initiative that tried to do that universal API was BioAPI, created by BioAPI Consortium. This standard becomes an ISO standard: ISO 19784-2. Therefore didn`t have participation of biggest vendors of biometric devices. And if you read the specification you will see how complicated is to use it...
Another initiative are been taken by NIST with webservices where any biometric device will have an internal webservice to supply biometric data and images and another system will be in charge of matching and decision process.
Anything different this is commercial tools like Griaule, Neurotechnology and Aware that tries to be a universal way to access biometric devices...
I am going to say there is no such SDK for universal fingerprint reading.
After a week or so of researching, it looks like the only thing with promise is Windows 7's WBF (Windows Biometric Framework).
It will be a couple of years before this is a viable option.
http://www.digitalpersona.com/
This company offers a great SDk that gives you actual fingerprint data. I'm not sure if it's for just the device they offer or if it's standard for other devices, however, there biometrics are very, very nice.
Griaule supports a great number of readers, including UPEK and Authentec readers. Their SDK is great and very simple to use. You can check here the readers they support http://www.griaulebiometrics.com/page/en-us/fingerprint_sdk/supported_readers

Bluetooth for WindowsCE 5.0 and .NET2.0 with C#

I'm looking library, to create Bluetooth connection between my device and other devices.
I want use:
.NET2.0 for Windows Mobile
WindowsCE 5.0
If you're using a particular device, most companies have a useful SDK available with Bluetooth functions/routines.
However, if you're looking for generic abilities across multiple devices you could check out 32Feet.net or OpenNetCF.
Be warned though, that if you're using CE 5.0 the bthutil.dll is not included by default anymore, so many of the functions in 32Feet.net (In the Hand) won't actually work.
Have not done much with it myself (yet), but I've read that Mobile in the Hand has nice managed libraries that included Bluetooth support.
You may need to go a bit further on what you are wanting to do exactly.
There are many different solutions based on the state of your project, are you already paired with the hand-held and the PC?
I was once able to get Windows Mobile device with .NET Compact Framework 2.0 installed to communicate with PC using 32feet.NET library. You may want to have a look.

Bluetooth APIs in Windows/.Net?

I am in the process of writing a Bluetooth scanner that locates and identifies mobile devices in the local vicinity. Is this something that I can accomplish using C#, or do I need to drop down into the C/C++ APIs? My application is targeting Windows XP and Vista. Pointers are appreciated.
Thanks!
One problem with Bluetooth on the PC is that there are several BT stacks in use and you can never quite know which one is available on a given machine. The most common ones are Widcomm (now Broadcom) and Microsoft (appeared in XP, maybe one of the service packs). However, some BT hardware vendors package BlueSoleil and some use Toshiba. Most dongles will work with the MS stack so the .NET libs I've seen tend to use that.
Each of the stacks has a totally different way of doing the discovery part where you browse for nearby devices and inquire their services.
If I had to pick one approach today I'd probably do the discovery in C++ and add an interface for .NET.
The 32feet.net stuff worked pretty well when I tried it but didn't support the Widcomm stack.
There is also Peter Foot's 32feet.net
http://inthehand.com/content/32feet.aspx
I've played around with this back when it was v1.5 and it worked well.
Mike Petrichenko has a nice BT framework. It works with BlueSoleil, Widcomm, Toshiba and Microsoft.
It is now called the Wireless Communications Library and works with Bluetooth 802.11 and Infrared. Mike named the company Soft Service Company and sells non-commercial and commercial licenses with and without source code in prices ranging between $100 and $2050.

Categories