OPC AE .Net Client|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
OPC AE .Net Client
Avatar
Patteeswaran Sellamuthu
New Member
Members
Forum Posts: 1
Member Since:
01/21/2016
sp_UserOfflineSmall Offline
1
01/28/2016 - 03:57
sp_Permalink sp_Print

The OPC AE .Net Client uses OPC API to connect to OPC Server. It always connected as “Guest” user account and not able to connect through a particular username and password.

Please let me know how to connect through a given user credentials. 

Thanks in advance!

Avatar
Guest
Guests
2
01/29/2016 - 06:56
sp_Permalink sp_Print

Hello,

I just took a look at source code and the following might be helpful for you:

  • Project: OPC NET API
  • File: Opc.Server.cs
  • Method: public void Connect( ConnectData connectData );

The method is overloaded and it seems that you can specify user credentials via the “connectData” parameter which is of type “ConnectData”. This type is defined in file “Opc.ConnectData.cs”.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 40
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889