我需要为我的应用程序创建一个修补程序,它真的很小但我需要每天或每周更新它如何xdelta和其他工作?我已经阅读了有关这些但我不太了解 的用户根本不应该被提示
如何在不调用cmd.exe的情况下将系统("")转换为C#?编辑:我需要抛出像"dir"这样的东西
我需要我的应用程序上传输出到pastebin但我不能让它工作这是代码
WebRequest wr = WebRequest.Create(@"http://pastebin.com/api_form.php");
ASCIIEncoding encoding = new ASCIIEncoding();
byte[] bData = encoding.GetBytes(string.Concat("paste_code=", sOutput, "&paste_private=0&paste_expire_date=1D&paste_subdomain=c4ca4238a0b923820dcc509a6f75849b"));
wr.Method = "POST";
wr.ContentType = "application/x-www-form-urlencoded";
wr.ContentLength = bData.Length;
Stream sMyStream = wr.GetRequestStream();
sMyStream.Write(bData, 0, bData.Length);
sMyStream.Close();
Run Code Online (Sandbox Code Playgroud)
http://pastebin.com/api.php < - apis来自那里