I'm looking for a way to share files (say a text file) between two devices,
I'm making a UWP application and would like to know any frameworks that may help me achieve that
You can use DataTransferManager to share files between different computers. Of course, this requires the device to turn on the "near sharing" feature. It works through Bluetooth.
If you want to share data via WIFI, then Wi-Fi Direct can help you. This is an example of a program provided by Microsoft.
Best regards.
Related
I would like to prevent malware for spreading itself to any USB devices that might connect to the system. For that I thought about an "firewall" approach based on executable names. E.g: only the process iexplorer.exe can write to a USB device, any other process is blocked.
The solution needs to work in W10 using .NET technologies.
I search on internet and I found USBFilter but only works in Linux.
https://www.usenix.org/conference/usenixsecurity16/technical-sessions/presentation/tian
for windows, I found the library http://libusb.sourceforge.net/api-1.0/ but I does not have filtering capabilities.
Does anyone know any way to achieve this goal?
I have encountered a difficulty while trying to figure out how certain aspect of my program will work:
(There is no code written at the moment, only concept).
I have a PC application which I want to build with C#.
In addition I have few android devices with my java application on it, which will be dependent on the PC application but will have its own functionality.
The android application will have to read data from the PC application and vice versa as well.
At first I thought creating a server which all applications will read from.
But now I'm thinking maybe there is a easier, less complex way (since I have no idea about accessing to servers and I'll have to learn the entire thing) - creating a network and shared folders - now the PC application will save his data at the shared folders and the android application will read the data from the shared folder, every 5 minutes or something like that or create a listener that will update the application upon any change made by the PC application.
The android application will have to do the same, save his data at the shared folders and let the PC read from the shared folder.
Basically, this is my idea, now my question are:
What do you think about the implementation of the idea?
Is it possible to access shared network folder with android device?
Is it possible to add android device to home network?
The combination of C# PC application and java will be alright?
Thanks in advance.
Answer of your questions :
This idea in implementable surely
I do not know for sure , but it should be .
Yup , it's very much possible using a WiFi connection.
This will not a problem as you have to use Webservice/Socket Programming (i will prefer for socket) where multiple platform is not a problem at all :)
Happy coding :)
I have a desktop application of address diary, developed in C# .Net.
I want to make call from software throw land line phone service,
in my office we have 8 phone lines, so i want to select line before call,
i want to use headphone and mic in place of phone instrument.
how to connect phone lines to pc. i have more then 8 phone lines
is it possible ? if yes then how and which hardware i need for this.
Have you thought of the Skype API: http://developer.skype.com/public/skypekit
or
http://www.twilio.com
Get rid of the landlines and use a service. Much easier in my opinion. Then it would be far more scalable as well.
If you want to go down the telephony services path check out this library: https://github.com/markjulmar/atapi.net/
Hardware for landlines would just include 8 modems and selecting which one to use, before making a call.
I would assume that the atapi library contains functions to select the audio input and output. If not there are plenty of c# libraries for recording audio, in which you could pass the stream through to the library.
I wasn't going to point you down this direction but as per #Saif Khan comment you can use Asterix.
Using Asterix
Step 1 - Get a server install Asterix on it. http://www.asterisk.org. It's open source.
Step 2 - Get supported hardware e.g. http://www.asterisk.org/hardware
Step 3 - Communicate to it with http://sourceforge.net/projects/asterisk-dotnet/ (open source c# to asterisk library.
This maybe overkill for you, I don't know. I suppose I shouldn't assume :)
Since Google Voice is still free in United States and Canada. You can use this Google Voice API in C#.
http://sourceforge.net/projects/gvoicedotnet/
Doesn't want to sound like a noob, but did you try out Windows Dialer? You will need x number of 56k dialup voice modem depending on the no. of connections you have and you want to use.
It should work just fine. Test it out, and if it works well, you can get your app synced with your existing software to export the number to the dialer upon calling. (There is no such functions on the dialer app yet.)
I am building a Windows Desktop software that will respond to SMS request and sending a SMS as reply automatically.
The software is ready and working just fine but it works only and only with Nokia Mobiles and the prerequisite is that Nokia's PC Suit has to be installed first before my app can work.
But now my customer wants to change his mobile so he wants me to change programming so that it works with any mobile.
I am at loss as to how to do this?
Can someone please help me here. I am ready to recode the whole app if required.
My preferred platforms are Delphi, VB.NET and VB6.
There are extended AT commands that you can send to your phone's virtual serial interface that tend to work well on many phones. See this for more info: http://www.developershome.com/sms/howToSendSMSFromPC.asp
Now all you need to do is find serial drivers for the supported phones. This used to be really simple, but is harder these days. Bottom line is, it is probably your best option.
"Any mobile"? That's a tall order. I'm not sure your customer knows what he's asking for. Different types of phones are different and there isn't some way to make the same program run on all of them.
What you can do, though, is make it run on any supported mobile. You can keep most of your existing PC-side code; only the part that talks to the phone has to change. Encapsulate that into some sort of interface in a separate module, and that's your specific code for talking to Nokia phones. Your app now supports Nokia.
Then figure out how to do the same thing for an Android, or a Blackberry or an iPhone. Build those specific parts into their own modules that all implement the same basic interface. With each new phone type you figure out how to talk to, your list of supported devices will grow.
I have been trying to find a way to control my winmo phone from my pc. (HTC S740)
What I want is to be able to call a number from an application, answer the phone from an application and hangup the phone from an application. It should also be able to track how long the ongoing call has been.
Any libraries out there that lets me make such an application with C#?
(The phone is connected to the pc via usb in Windows 7.)
You can use RAPI to invoke functionality on the device. You might need to write a wrapper.
I believe that this answer by ctacke should help you perform the task.
You can look at OpenNETCF library, which have many utilities to call native APIs that can help you, but i didn't hear of any library to help control your phone remotely.