System.Net.ServicePointManager.DefaultConnectionLimit=256;// 런처 초기화var path =newMinecraftPath();var launcher =newMinecraftLauncher(path);// 이벤트 헨들러 추가launcher.FileProgressChanged+= (sender, args) =>{Console.WriteLine($"Name: {args.Name}");Console.WriteLine($"Type: {args.EventType}");Console.WriteLine($"Total: {args.TotalTasks}");Console.WriteLine($"Progressed: {args.ProgressedTasks}");};launcher.ByteProgressChanged+= (sender, args) =>{Console.WriteLine($"{args.ProgressedBytes} bytes / {args.TotalBytes} bytes");};// 모든 버전 가져오기var versions =awaitlauncher.GetAllVersionsAsync();foreach (var v in versions){Console.WriteLine(v.Name);}// 게임 설치 및 실행awaitlauncher.InstallAsync("1.20.6");var process =awaitlauncher.BuildProcessAsync("1.20.6",newMLaunchOption{ Session =MSession.CreateOfflineSession("Gamer123"), MaximumRamMb =4096});process.Start();