Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryQuan committed Sep 24, 2023
1 parent 5203695 commit dcf33c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions RS/RS/RS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using RS.Service;
Expand Down
1 change: 1 addition & 0 deletions RS/RS/Service/PortService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public PortService() { }
/// <param name="name">The name of the entry</param>
/// <param name="port">The port number</param>
/// <exception cref="Exception">This can throw lots of exception, treat any as an error.</exception>
[Obsolete("Use RegisterPort instead to only grant Admin once")]
public void AddPortToFirewall(string name, int port)
{
Type TicfMgr = Type.GetTypeFromProgID("HNetCfg.FwMgr");
Expand Down

0 comments on commit dcf33c5

Please sign in to comment.