Connecting Silverlight to local computers COM port

I searched high and low to get the silverlight application to work with a COM port on my local computer. Could anyone get Silverlight to successfully connect to the COM port of your local computer? If so, you can point me to the documentation.

+3
source share
10 answers

This cannot be done with Silverlight.

Why not just use the standard .NET desktop application? If you need to easily deploy over the network, just use Click-Once to deploy.

+5
source

, . , , , COM-.

COM-? -, Jonas hack, Flash -: http://jonas.follesoe.no/WebcamInSilverlight2MacGyverStyle.aspx

+4

, Silverlight , COM-.

+3

Silverlight 4 COM (ActiveX). , COM, .

http://tech-michael.blogspot.com/2009/12/silverlight-talking-to-arduino.html

, ActiveXperts .

+3

, - Silverlight , COM- .

, :

  • ClickOnce .NET - udpates, .NET.
  • XBAP ( WPF), . , .NET 3.0/3.5
  • ActiveX, GPS API. JavaScript, API JavaScript Silverlight. , GPS ActiveX.

Cheers, Jonas

+2

, silverlight? Silverlight , .

+1

GPS Silverlight. , , .

+1

, , Windows Mac? Silverlight - , . WPF ActiveX .., Windows.

0

Silverlight 5 Comm Port, , Silverlight Windows ( Mac) OOB ( ) Internet Explorer.

, COM . , , Silverlight 5 , , .

Silverlight AutomactionFactory, . ; . COM-, SerialPort .

If AutomationFactory.IsAvailable Then
      SilPort = AutomationFactory.CreateObject("SilverPort.Ports")
      Dim AllPorts() As String
      AllPorts = SilPort.GetPortNames()
      ...
End If
0

Source: https://habr.com/ru/post/1698596/


All Articles