我们正在使用#SNMP 创建一个 SNMP V3 代理。
我想知道 SecureSnmpContext 类在使用 GeneratedResponse 时不使用给定的 ContextName 是否正常?
ContextName 可用于请求对象?
在代码中,OctetString.Empty
使用的是 ContextName 来代替。
new Scope(Group.EngineId,
OctetString.Empty,
new ResponsePdu(
Request.RequestId(),
ErrorCode.NoError,
0,
variables)),
响应中可能不需要 ContextName 吗?
谢谢