Windows Phone 7\Silverlight SSH or Telnet library - c#

Searching for some telnet or SSH libraries (C#) to using with Windows Phone 7.
At now moment I'm failed convert C# libraries like SharpSSH or Granados.
What existing libraries suatable for Windows Phone 7 or ideas how to convert SharpSSH?

Seems such library (in development) found - http://sshnet.codeplex.com/ (with version in development process for Windows Phone 7)

Windows Phone 7 doesn't provide socket support needed for such components to work. In our SecureBlackbox (which includes SSH client and server and has Windows Phone 7 version) we implemented Socket adapter class, which can be used for sending data over custom channels. If you can tunnel the data the way you need, then you can use our components. Until WP7 has support for sockets, there's no other option.

Related

Bluetooth Communication using C# in Windows Forms apps in windows 7

Developing a WPF application using C# (.NET Framework 4.5)
I need to use native libraries (No 32Feet.NET suggestions please) to show the list of devices connected via bluetooth and then i need to identify respective COM port numbers.
I know that i can read COM ports using System.IO.Ports & System.ManagementObject namespaces once the device is connected via bluetooth.
The problem is, how to get the list of devices paired to desktop machine using Microsoft libraries?

Will SockeIOClientDotNet work for Windows Phone 8.1 RT, and Socket IO 1.2.x based web server?

I am trying to develop a chat application in windows phone 8.1 (am not using the silverlight version), I created a server with Node.JS and with socket.io. But am not able to connect to the server from my windows phone App. I tried using both SocketIO4Net and SockeIOClientDotNet. Both where not connecting. Is there any alternative options? Which is the best way to do it?
You should try use WinJs 3.0 connect with socket.io it really work.

Transferring files from windows ce to desktop

Is there a way to connect a Windows CE 6.0 device to a Windows 7 desktop PC without using activesync
There's no way to just connect the two and have them communicate without some form of driver or application being written. ActiveSync/WMDC is what Microsoft shipped "out of the box". If you want to do what it does, then you have to replace it with another app or protocol, and it generally requires you to do both sides - a device app and a PC app.
What that would look like depends on how you intend to connect. If you want to use USB, then you can likely use the CE RNDIS driver, so that the device shows up as an NDIS device, then use the desktop APIs to send network traffic to and from the device. Of course you'll have to put an app or service on the device that knows how to take commands and do something with them.

WP8/Win8 Store App - Sockets

Justed tried to add multiplayer support for a monogame project. I wanted to use libgren but as far as I could see there are no networking classes available on windows phone. Is there any workaround? How can send and recieve tcp and udp packets on windows phone? The same question applies to Windows 8 Store Apps.
There are sockets for Windows Phone 8.1 and Windows 8.1 - http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.aspx . If you are targeting WP8 (not 8.1) you will need to use the Silverlight Windows Phone 8 sockets - http://msdn.microsoft.com/en-us/library/windows/apps/hh202874(v=vs.105).aspx

How to accept incoming bluetooth connection on Windows 7 desktop (with a c++ or c# program)

I am writing a BT app on an android to connect to a lab device/hardware. At the present time I have a device on loan. However it is not possible for me to always have one while I am developing for it, (commuting, out of town, etc) Therefore I am creating an emulator for it and will run that emulator on my Windows desktop so that my Android client code can make connections to it.
The android code is built with .NET/xamarin and works fine connecting to the real device.
I am comfortable with C++ or C# on the desktop.
I have found this code http://www.codeproject.com/Articles/252882/Bluetooth-Server-Programming-on-Windows online to create and accept BT connections. it looks like a very good start for what I wish to do - which is build a state machine/emulator to mimic the real device. However I have been unable to connect my android device to it.
Note - the connection is a serial port connection. (the UUI coming from the android device is the "well known" serial port connection ("00001101-0000-1000-8000-00805F9B34FB")
I am not sure how to configure the windows 7 desktop and bluetooth services to allow this server/emulator program to accept connections.
I have paired the devices, but unable to connect.
How can I accept incoming Bluetooth serial connections in the C++ or C# code running on Win7 desktop?
If you want to do low level stuff like establish a connection via bluetooth through a C# app then you will need to access the bluetooth stack via its API. If your device is running the Microsofts Bluetooth Stack then you can look at 32feet.net's managed wrapper for Microsofts Bluetooth API. If you have the Widcomm stack then you will have to locate Widcomm's API for it.
To access the microsoft bluetooth stack, you can use the BthUtil.dll.
BthUtil.dll is an unmanaged dll which is part of the Microsoft Bluetooth stack. It's typically utilised for tasks such as turning the bluetooth radio on or off via a function called BthSetMode
(see MSDN for documentation - http://msdn2.microsoft.com/EN-US/library/aa456007.aspx)
You can check the following links:-
http://www.youtube.com/watch?v=Jn05CU3mxzo
Also, check the 32feet.Net
A Brief description of 32feet.Net
32feet.NET is a shared-source project to make personal area networking technologies such as Bluetooth, Infrared (IrDA) and more, easily accessible from .NET code.
Supports desktop, mobile or embedded systems.
32feet.NET is free for commercial or non-commercial use.
If you use the binaries you can just use the library as-is, if you make modifications to the source you need to include the 32feet.NET License.txt document and ensure the file headers are not modified/removed. The project currently consists of the following libraries:-
Bluetooth
IrDA
Object Exchange
Bluetooth support requires a device with either the Microsoft, Widcomm, BlueSoleil, or Stonestreet One Bluetopia Bluetooth stack. Requires .NET Compact Framework v3.5 or above and Windows CE.NET 4.2 or above, or .NET Framework v3.5 for desktop Windows XP, Vista, 7 and 8.
Link
http://32feet.codeplex.com/
Feature link for 32feet.Net
http://32feet.codeplex.com/wikipage?title=Feature%20support%20table&referringTitle=Documentation

Categories

Resources