private AddToSavedList ( string ip, int httpPort ) : void | ||
ip | string | |
httpPort | int | |
return | void |
private void AddToSavedList(string ip, int httpPort) {
lock (_saved) {
using (var writer = new StreamWriter(MainListFilename, true)) {
writer.WriteLine($"{ip}:{httpPort}");
}
}
}