How to call a Steam Server Link in C# -


i developing bot discord right now. there way call steam server link launches game given server? link looks this:

steam://connect/123.123.123.123:12345

thanks help.

my code looks this:

 commands.createcommand("startark").do(async (e) =>             {                 var url = "steam://connect/31.214.160.214:7777";                 var psi = new processstartinfo();                 psi.useshellexecute = true;                 psi.filename = url;                 process.start(psi);                  //  system.diagnostics.process.start("c:\program files (x86)\steam");                 await e.channel.sendmessage("game started..");             }); 

steam says server not respond. link correct. if click it, starts game , connects server.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -