Author | Forum: PowerSNMP for .NET Topic: How to set ContextId on SnmpSocket.GetTable |
andershavn From: Denmark Posts: 16 Member Since: 01/07/14 |
posted February 3, 2014 8:32 AM Hi, I can set the ContextId on a GetMessage: GetMessage request = new GetMessage(); request.Version = SnmpVersion.Three; request.Security.User = agentEntity.User; request.Security.ContextId = System.Text.Encoding.ASCII.GetBytes(DEVICE_ID); ResponseMessage response = snmpSocket.GetResponse(request, agentEntity.EndPoint); The User is sent as a parameter to GetTable but how can I set the ContextId? Variable[,] table = snmpSocket.GetTable(tableNode.Oid, agentEntity.Version, agentEntity.Community, agentEntity.User, agentEntity.EndPoint, 3, 100); Best Regards, Anders Havn |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted February 4, 2014 5:19 PM Hello Anders, It is not currently possible to set the ContextId when using the GetTable method, I have entered a feature request for this as TFS390. For information and updates on its status, please contact sales@dart.com. In the meantime, GetNextMessage or GetBulkMessage may be used to retrieve the table values. |
dhomer@centrel-solutions.com From: Oxford, United Kingdom Posts: 1 Member Since: 05/31/19 |
posted May 31, 2019 6:41 AM Hello, we have the same issue of needing ContextId when getting a table. This has been five years, please can you tell me when this functionality is to be available? We shouldn't be downgrading functionality when people move to a more secure platform. Thanks, Dave |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted June 3, 2019 4:00 PM Thank you for your post. This issue was resolved and a resolution released several years ago. If you'd like to know whether the version you have includes this functionality, please email sales@dart.com. Regards, Jamie |
Reply | PowerSNMP for .NET Topics | Forums |
This site is powered by
![]() |