registerUrlAndCert is WIN-only yet
This commit is contained in:
1 parent
37e4108249
commit
e0950d9865
2 files changed
+9
-1
No files matched your search
@@ -178,6 +178,8 @@ namespace ClientServerLib
|
|||||||
|
|
||||||
private void registerUrlAndCert(int port)
|
private void registerUrlAndCert(int port)
|
||||||
{
|
{
|
||||||
|
#if WIN
|
||||||
|
|
||||||
ProcessStartInfo info = new ProcessStartInfo();
|
ProcessStartInfo info = new ProcessStartInfo();
|
||||||
info.FileName = "WebserverInitalConfig.exe";
|
info.FileName = "WebserverInitalConfig.exe";
|
||||||
info.Arguments = port.ToString() + " " + encrypted.ToString();
|
info.Arguments = port.ToString() + " " + encrypted.ToString();
|
||||||
@@ -191,6 +193,12 @@ namespace ClientServerLib
|
|||||||
p.WaitForExit();
|
p.WaitForExit();
|
||||||
p.Close();
|
p.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
//Required?
|
||||||
|
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\</OutputPath>
|
<OutputPath>bin\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>TRACE;DEBUG;WIN;</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
Reference in new issue
Block a user