From 05fba7889d4807e4744eb327daf17002d71ae50d Mon Sep 17 00:00:00 2001
From: DeniedAccessLife <89941208+DeniedAccessLife@users.noreply.github.com>
Date: Sat, 1 Jan 2022 22:14:15 +0300
Subject: [PATCH] Add files via upload
---
DynamicStatus.sln | 25 +++++++++++
DynamicStatus/DynamicStatus.csproj | 48 ++++++++++++++++++++++
DynamicStatus/Program.cs | 40 ++++++++++++++++++
DynamicStatus/Properties/AssemblyInfo.cs | 36 ++++++++++++++++
DynamicStatus/bin/Debug/DeniedNetLib.dll | Bin 0 -> 5632 bytes
DynamicStatus/bin/Debug/DynamicStatus.exe | Bin 0 -> 5632 bytes
6 files changed, 149 insertions(+)
create mode 100644 DynamicStatus.sln
create mode 100644 DynamicStatus/DynamicStatus.csproj
create mode 100644 DynamicStatus/Program.cs
create mode 100644 DynamicStatus/Properties/AssemblyInfo.cs
create mode 100644 DynamicStatus/bin/Debug/DeniedNetLib.dll
create mode 100644 DynamicStatus/bin/Debug/DynamicStatus.exe
diff --git a/DynamicStatus.sln b/DynamicStatus.sln
new file mode 100644
index 0000000..650f568
--- /dev/null
+++ b/DynamicStatus.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.28307.1758
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DynamicStatus", "DynamicStatus\DynamicStatus.csproj", "{946C7A82-6110-44B8-9C50-8C70069CA65F}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {946C7A82-6110-44B8-9C50-8C70069CA65F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {946C7A82-6110-44B8-9C50-8C70069CA65F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {946C7A82-6110-44B8-9C50-8C70069CA65F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {946C7A82-6110-44B8-9C50-8C70069CA65F}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {860AFBF0-E9FA-4EAD-AB9A-FB55B085B3EC}
+ EndGlobalSection
+EndGlobal
diff --git a/DynamicStatus/DynamicStatus.csproj b/DynamicStatus/DynamicStatus.csproj
new file mode 100644
index 0000000..68803ac
--- /dev/null
+++ b/DynamicStatus/DynamicStatus.csproj
@@ -0,0 +1,48 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {946C7A82-6110-44B8-9C50-8C70069CA65F}
+ Exe
+ DynamicStatus
+ DynamicStatus
+ v2.0
+ 512
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ False
+ bin\Debug\DeniedNetLib.dll
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DynamicStatus/Program.cs b/DynamicStatus/Program.cs
new file mode 100644
index 0000000..d411433
--- /dev/null
+++ b/DynamicStatus/Program.cs
@@ -0,0 +1,40 @@
+using System;
+using System.ComponentModel;
+using System.Threading;
+
+namespace DynamicStatus
+{
+ class Program
+ {
+ private static string token;
+ private static BackgroundWorker worker = new BackgroundWorker();
+
+ static void Main()
+ {
+ worker.DoWork += worker_DoWork;
+ worker.WorkerReportsProgress = true;
+ worker.WorkerSupportsCancellation = true;
+ worker.RunWorkerCompleted += worker_RunWorkerCompleted;
+
+ Console.WriteLine("Starting Application...");
+ Console.WriteLine("Waiting for an authorization token...");
+ token = Console.ReadLine();
+ worker.RunWorkerAsync();
+ Console.ReadKey();
+ }
+
+ static void worker_DoWork(object sender, DoWorkEventArgs e)
+ {
+ Random random = new Random();
+ int delay = random.Next(30, 60);
+ Thread.Sleep(delay * 1000);
+
+ Console.WriteLine(Utils.Request(token));
+ }
+
+ static void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
+ {
+ worker.RunWorkerAsync();
+ }
+ }
+}
diff --git a/DynamicStatus/Properties/AssemblyInfo.cs b/DynamicStatus/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..44a9483
--- /dev/null
+++ b/DynamicStatus/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
+// связанные со сборкой.
+[assembly: AssemblyTitle("DynamicStatus")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("DynamicStatus")]
+[assembly: AssemblyCopyright("Copyright © 2021")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// COM, задайте атрибуту ComVisible значение TRUE для этого типа.
+[assembly: ComVisible(false)]
+
+// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
+[assembly: Guid("946c7a82-6110-44b8-9c50-8c70069ca65f")]
+
+// Сведения о версии сборки состоят из следующих четырех значений:
+//
+// Основной номер версии
+// Дополнительный номер версии
+// Номер сборки
+// Редакция
+//
+// Можно задать все значения или принять номер сборки и номер редакции по умолчанию.
+// используя "*", как показано ниже:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/DynamicStatus/bin/Debug/DeniedNetLib.dll b/DynamicStatus/bin/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