using System.Text;
using System.Security.Cryptography;
using System.Management;
using Microsoft.Win32;
using System.Globalization;
using System.Net;
using System.IO;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
string log = System.IO.File.ReadAllText(@"C:\TeamResQ\log.txt");
Console.WriteLine(log);
Console.Read();
}
using System.IO;
using System.Net;
private void login_Load(object sender, EventArgs e)
{
if (!File.Exists(@"Log.txt Save Path"))
{
WebClient download = new WebClient();
download.DownloadFile("Link to your ConsoleApplication", @" Console Application Save path");
download.DownloadFile("Link to your log.txt", @"Log.txt save path");
}
else if (File.Exists(@"Log.txt Save Path"))
{
File.Delete(@"Log.txt Save Path");
WebClient download = new WebClient();
download.DownloadFile("Link to your log.txt", @"Log.txt save Path");
System.Diagnostics.Process.Start(@"ConsoleApplication Save Path");
}
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.