Use of wifi direct to send message in Windows Form Application - winforms

I want to make a windows form applcation using c# which will send message between to pcs using Wi-Fi direct.Can I use wifi direct library for windows form application?If I can,please let me know how?

no you cannot use wifi direct library for windows form for desktop apps. as the namespace Windows.Devices.WiFiDirect is only provided for windows runtime api.
Wifi direct is not implemented natively in Windows 7 or older windows o.s.
But Starting on Windows 8 and Windows Server 2012, Wi-Fi Direct functions were added to the Native Wifi API.
This is the link which will provide you all the features which are available. https://msdn.microsoft.com/en-us/library/windows/desktop/dn457945(v=vs.85).aspx
Here's a presentation that goes over the feature in detail: http://channel9.msdn.com/Events/Build/BUILD2011/HW-329T.

Related

How to run windows IOT core Console Visual C++ Application in Windows 10 IOT device.?

I am able to execute it via power shell . But not able to directly run from IOT Device raspberry pi.
If there is not available option for execute Console Application from IOT device which is best alternative application platform for this?
IS there any tools availables that convert Console application to Application that can be run on IOT device ?
If you want to directly run the console application when you are in develop,
You can refer to this link to get the steps of running and debugging C++ console application on Windows IoT Core device.
If you use visual Studio to develop your application, you can install Windows IoT Core Project Templates for VS 2017 and then build a background application. Background Applications are applications that have no direct UI(Headless). Once deployed and configured, these applications launch at machine startup and run continuously without any process lifetime management resource use limitations. Hope that can help you.
it's easiest to view console output from a visual c++ app if you launch the app from an ssh session. try using putty to connect to your raspberry pi, and then run your commands in the ssh session. Instructions here To determine whether your visual c++ app is compatible with Windows IoT, you should run the iot core porting tool which is available here

windows communication between two applications

I want to create two applications running on the same device (windows rt).
One application would be the app for inputting strings (example is string "235").
The second application would be the output for the first application. (showing "235").
Is it possible to do this in visual studio?
Yes this is possible to do in Visual Studio and to run on a development machine using the loopback adapter, however the loopback adapter is disabled for release builds. You can use the share contract to share your content as a custom object that only your intended application knows how to consume as a share target to accomplish this. A little more about your scenario is needed to provide proper guidance.
John Wiese
Microsoft - Sr. Technical Evangelist
jwiese#microsoft.com
#johnwiese
Try using DLL files.
More info: https://support.microsoft.com/kb/815065

Remote desktop: Ubuntu 12.04 from Windows 7

I want to share(and give control of) my Ubuntu 12.04 desktop to my brother(using Windows 7).
We are not on the same network. (We're in different cities).
What would be the easiest way to accomplish this (without compromising security)?
I read that VNC isn't very secure.
Thanks.
I would try Teamviewer. Nice tool, i've often used it private and at work to remote access PCs. With Teamviewer it's also possible to access clients via Android/IPhone.
You can also user UltraVNC. It works good with Windows-Linux remote desktop. UltraVNC

Brew MP handset developer activation

I have a Brew MP which I want to upload my app to. But I understand, it must first be "developer activated" before it will accept my apps. In the Qualcomm tools, I use the Target Manager, but I find no way to activate the phone.
I have a Brewmp.com account, and I read the instructions, but they are not clear to me.
The Target Manager says "Connected Status: Currently not connected", if that means anything. The phone is connected enough for the tool to display it in the list of the physical devices though.
The handset is a Dopod F3188 running Brew MP 1.0.2.481.
I installed the generic gateway USB driver found in the Brew Tools. However, if I enable a developer mode which is more than USB gateway (+ COM) in the phone, the phone is not recognized by Windows and I can not find any drivers for the phone.
The problem disappeared once I started using a real Windows XP machine instead of a virtual machine. (VirtualBox in this case.)

Stream Audio from Linux Server with Silverlight

I have a large catalog of audio on a Linux (CentOS 5) server that I would like to expose to an existing .NET web site. Is there any way to stream the media from the Linux server through my web site using Silverlight? If so, how would a person go about setting it up?
Thanks in advance!
If you don't care about adaptive streaming, this is really easy - just share the audio out over HTTP, then add a MediaElement (or something like http://smf.codeplex.com if you want it to be fancy, see my caveat at http://blog.paulbetts.org/index.php/2009/11/22/patching-silverlight-media-framework-to-work-with-mp4wmv-files/) and point it towards your Linux server running Lighttpd or Apache.
The critical bit though, is that Silverlight will only be allowed to access the hosting site by default, so you'll need to create a clientaccesspolicy.xml file ( http://www.silverlighthack.com/post/2008/11/08/Silverlight-clientaccesspolicyxml-files-for-the-Enterprise-(Part-1-of-2).aspx ) to allow SL access to your Linux server

Resources