首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > dotnet-radius-client-library

dotnet-radius-client-library

  • 资源大小:21.00 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This library implements Remote Authentication Dial In User Service (RADIUS) protocol (RFC 2865) and RADIUS Accounting (RFC 2866) on .NET framework 4.0. Library written on C#. Supports: * Access and accounting requests * PAP encryption only * Vendor specific attributes * Parsing response from RADIUS server Last updates: * Examples added. Usage example: ``` var radiusClient = new Client("10.25.1.1", 1813, "secret"); var request = new AccountingRequest("10.25.1.2", ServiceType.Framed, "username", AuthenticationType.Radius, StatusType.Start, 0, "10.25.1.101", "sessionid", radiusClient); request.Packet.Attributes.Add(new StringAttribute(AttributeType.NasIdentifier, "BBSM")); request.Packet.Attributes.Add(new NasPortTypeAttribute(NasPortType.Ethernet)); var response = radiusClient.Send(request, true, 2); ```

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP