Skip to content

Commit

Permalink
Disable Ping
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 committed Apr 8, 2022
1 parent d7d876c commit e4ba2ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions SuperCAL.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2018
# Visual Studio Version 17
VisualStudioVersion = 17.1.32228.430
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SuperCAL", "SuperCAL\SuperCAL.csproj", "{12EA0CAA-7402-4B6B-B75D-466F788900E2}"
EndProject
Expand Down
2 changes: 2 additions & 0 deletions SuperCAL/Classes/DomainJoin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class DomainJoin
public static string OU = "";
public static async Task<bool> Join()
{
/*
Ping ping = new Ping();
Logger.Log("Pinging " + DomainName + "...");
PingReply reply = null;
Expand All @@ -33,6 +34,7 @@ public static async Task<bool> Join()
return false;
}
Logger.Good("Ping: Success.");
*/
Logger.Log("Adding computer to domain (" + DomainName + ") in container (" + OU + ") as (" + Environment.MachineName + "): Please wait...");
int tries = 4;
bool popKeyboard = false;
Expand Down
6 changes: 3 additions & 3 deletions SuperCAL/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCompany("Dylan Bickerstaff")]
[assembly: AssemblyProduct("SuperCAL")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyCopyright("Copyright © 2022 Cedar Point")]
[assembly: AssemblyTrademark("Dylan Bickerstaff")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(true)]
[assembly: Guid("12ea0caa-7402-4b6b-b75d-466f788900e2")]
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyVersion("2.0.1.0")]
[assembly: AssemblyFileVersion("2.0.1.0")]
[assembly: NeutralResourcesLanguage("en")]

0 comments on commit e4ba2ab

Please sign in to comment.