1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
<head>
|
4
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
5
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
6
|
<meta name="generator" content="Doxygen 1.9.4"/>
|
7
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
8
|
<title>LDClient: LDClient.detection.ProcessUtils Class Reference</title>
|
9
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
10
|
<script type="text/javascript" src="jquery.js"></script>
|
11
|
<script type="text/javascript" src="dynsections.js"></script>
|
12
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
13
|
<script type="text/javascript" src="resize.js"></script>
|
14
|
<script type="text/javascript" src="navtreedata.js"></script>
|
15
|
<script type="text/javascript" src="navtree.js"></script>
|
16
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
17
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
18
|
<script type="text/javascript" src="search/search.js"></script>
|
19
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
20
|
</head>
|
21
|
<body>
|
22
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
23
|
<div id="titlearea">
|
24
|
<table cellspacing="0" cellpadding="0">
|
25
|
<tbody>
|
26
|
<tr id="projectrow">
|
27
|
<td id="projectalign">
|
28
|
<div id="projectname">LDClient<span id="projectnumber"> v.1</span>
|
29
|
</div>
|
30
|
<div id="projectbrief">Client application for the detection of Lauterbach debugger devices</div>
|
31
|
</td>
|
32
|
</tr>
|
33
|
</tbody>
|
34
|
</table>
|
35
|
</div>
|
36
|
<!-- end header part -->
|
37
|
<!-- Generated by Doxygen 1.9.4 -->
|
38
|
<script type="text/javascript">
|
39
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
40
|
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
|
41
|
/* @license-end */
|
42
|
</script>
|
43
|
<script type="text/javascript" src="menudata.js"></script>
|
44
|
<script type="text/javascript" src="menu.js"></script>
|
45
|
<script type="text/javascript">
|
46
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
47
|
$(function() {
|
48
|
initMenu('',true,false,'search.php','Search');
|
49
|
$(document).ready(function() { init_search(); });
|
50
|
});
|
51
|
/* @license-end */
|
52
|
</script>
|
53
|
<div id="main-nav"></div>
|
54
|
</div><!-- top -->
|
55
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
56
|
<div id="nav-tree">
|
57
|
<div id="nav-tree-contents">
|
58
|
<div id="nav-sync" class="sync"></div>
|
59
|
</div>
|
60
|
</div>
|
61
|
<div id="splitbar" style="-moz-user-select:none;"
|
62
|
class="ui-resizable-handle">
|
63
|
</div>
|
64
|
</div>
|
65
|
<script type="text/javascript">
|
66
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
67
|
$(document).ready(function(){initNavTree('class_l_d_client_1_1detection_1_1_process_utils.html',''); initResizable(); });
|
68
|
/* @license-end */
|
69
|
</script>
|
70
|
<div id="doc-content">
|
71
|
<!-- window showing the filter options -->
|
72
|
<div id="MSearchSelectWindow"
|
73
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
74
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
75
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
76
|
</div>
|
77
|
|
78
|
<!-- iframe showing the search results (closed by default) -->
|
79
|
<div id="MSearchResultsWindow">
|
80
|
<iframe src="javascript:void(0)" frameborder="0"
|
81
|
name="MSearchResults" id="MSearchResults">
|
82
|
</iframe>
|
83
|
</div>
|
84
|
|
85
|
<div class="header">
|
86
|
<div class="summary">
|
87
|
<a href="#pub-methods">Public Member Functions</a> |
|
88
|
<a href="class_l_d_client_1_1detection_1_1_process_utils-members.html">List of all members</a> </div>
|
89
|
<div class="headertitle"><div class="title">LDClient.detection.ProcessUtils Class Reference</div></div>
|
90
|
</div><!--header-->
|
91
|
<div class="contents">
|
92
|
|
93
|
<p>This class implements the <a class="el" href="interface_l_d_client_1_1detection_1_1_i_process_utils.html" title="This interface defines the functionality of all methods that are used to work with processes (within ...">IProcessUtils</a> interface. It implements methods that are used when dealing with processes.
|
94
|
<a href="class_l_d_client_1_1detection_1_1_process_utils.html#details">More...</a></p>
|
95
|
<table class="memberdecls">
|
96
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
97
|
Public Member Functions</h2></td></tr>
|
98
|
<tr class="memitem:a851a0af6188cf17614870a94ddb87fc4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_l_d_client_1_1detection_1_1_process_utils.html#a851a0af6188cf17614870a94ddb87fc4">IsProcessRunning</a> (string name)</td></tr>
|
99
|
<tr class="memdesc:a851a0af6188cf17614870a94ddb87fc4"><td class="mdescLeft"> </td><td class="mdescRight">Checks if a process is running or not. <a href="class_l_d_client_1_1detection_1_1_process_utils.html#a851a0af6188cf17614870a94ddb87fc4">More...</a><br /></td></tr>
|
100
|
<tr class="separator:a851a0af6188cf17614870a94ddb87fc4"><td class="memSeparator" colspan="2"> </td></tr>
|
101
|
<tr class="memitem:a863da05a6d25ead94a6eb0bd00f91557"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_l_d_client_1_1detection_1_1_process_utils.html#a863da05a6d25ead94a6eb0bd00f91557">ExecuteNewProcess</a> (string fileName, string argument, int timeout, int desiredExitCode)</td></tr>
|
102
|
<tr class="memdesc:a863da05a6d25ead94a6eb0bd00f91557"><td class="mdescLeft"> </td><td class="mdescRight">Executes a new process (t32rem.exe) with arguments which are passed in as a parameter of the method. <a href="class_l_d_client_1_1detection_1_1_process_utils.html#a863da05a6d25ead94a6eb0bd00f91557">More...</a><br /></td></tr>
|
103
|
<tr class="separator:a863da05a6d25ead94a6eb0bd00f91557"><td class="memSeparator" colspan="2"> </td></tr>
|
104
|
<tr class="memitem:ad86c09b9bd71f7087ada92851b07e1a0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_l_d_client_1_1detection_1_1_i_process_utils.html#ad86c09b9bd71f7087ada92851b07e1a0">IsProcessRunning</a> (string name)</td></tr>
|
105
|
<tr class="memdesc:ad86c09b9bd71f7087ada92851b07e1a0"><td class="mdescLeft"> </td><td class="mdescRight">Checks if a process is running or not. <a href="interface_l_d_client_1_1detection_1_1_i_process_utils.html#ad86c09b9bd71f7087ada92851b07e1a0">More...</a><br /></td></tr>
|
106
|
<tr class="separator:ad86c09b9bd71f7087ada92851b07e1a0"><td class="memSeparator" colspan="2"> </td></tr>
|
107
|
<tr class="memitem:ab7e48a228ebaf7dddc671e5af2325662"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_l_d_client_1_1detection_1_1_i_process_utils.html#ab7e48a228ebaf7dddc671e5af2325662">ExecuteNewProcess</a> (string fileName, string argument, int timeout, int desiredExitCode)</td></tr>
|
108
|
<tr class="memdesc:ab7e48a228ebaf7dddc671e5af2325662"><td class="mdescLeft"> </td><td class="mdescRight">Executes a new process (t32rem.exe) with arguments which are passed in as a parameter of the method. <a href="interface_l_d_client_1_1detection_1_1_i_process_utils.html#ab7e48a228ebaf7dddc671e5af2325662">More...</a><br /></td></tr>
|
109
|
<tr class="separator:ab7e48a228ebaf7dddc671e5af2325662"><td class="memSeparator" colspan="2"> </td></tr>
|
110
|
</table>
|
111
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
112
|
<div class="textblock"><p >This class implements the <a class="el" href="interface_l_d_client_1_1detection_1_1_i_process_utils.html" title="This interface defines the functionality of all methods that are used to work with processes (within ...">IProcessUtils</a> interface. It implements methods that are used when dealing with processes. </p>
|
113
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
114
|
<a id="a863da05a6d25ead94a6eb0bd00f91557" name="a863da05a6d25ead94a6eb0bd00f91557"></a>
|
115
|
<h2 class="memtitle"><span class="permalink"><a href="#a863da05a6d25ead94a6eb0bd00f91557">◆ </a></span>ExecuteNewProcess()</h2>
|
116
|
|
117
|
<div class="memitem">
|
118
|
<div class="memproto">
|
119
|
<table class="memname">
|
120
|
<tr>
|
121
|
<td class="memname">bool LDClient.detection.ProcessUtils.ExecuteNewProcess </td>
|
122
|
<td>(</td>
|
123
|
<td class="paramtype">string </td>
|
124
|
<td class="paramname"><em>fileName</em>, </td>
|
125
|
</tr>
|
126
|
<tr>
|
127
|
<td class="paramkey"></td>
|
128
|
<td></td>
|
129
|
<td class="paramtype">string </td>
|
130
|
<td class="paramname"><em>argument</em>, </td>
|
131
|
</tr>
|
132
|
<tr>
|
133
|
<td class="paramkey"></td>
|
134
|
<td></td>
|
135
|
<td class="paramtype">int </td>
|
136
|
<td class="paramname"><em>timeout</em>, </td>
|
137
|
</tr>
|
138
|
<tr>
|
139
|
<td class="paramkey"></td>
|
140
|
<td></td>
|
141
|
<td class="paramtype">int </td>
|
142
|
<td class="paramname"><em>desiredExitCode</em> </td>
|
143
|
</tr>
|
144
|
<tr>
|
145
|
<td></td>
|
146
|
<td>)</td>
|
147
|
<td></td><td></td>
|
148
|
</tr>
|
149
|
</table>
|
150
|
</div><div class="memdoc">
|
151
|
|
152
|
<p>Executes a new process (t32rem.exe) with arguments which are passed in as a parameter of the method. </p>
|
153
|
<dl class="params"><dt>Parameters</dt><dd>
|
154
|
<table class="params">
|
155
|
<tr><td class="paramname">fileName</td><td>Path to the .exe file</td></tr>
|
156
|
<tr><td class="paramname">argument</td><td>Arguments passed into the .exe file</td></tr>
|
157
|
<tr><td class="paramname">timeout</td><td>Timeout used when waiting for the process to terminate</td></tr>
|
158
|
<tr><td class="paramname">desiredExitCode</td><td>Status code indicating a successful termination of the process.</td></tr>
|
159
|
</table>
|
160
|
</dd>
|
161
|
</dl>
|
162
|
<dl class="section return"><dt>Returns</dt><dd>True, if the command was executed successfully. False otherwise.</dd></dl>
|
163
|
|
164
|
<p>Implements <a class="el" href="interface_l_d_client_1_1detection_1_1_i_process_utils.html#ab7e48a228ebaf7dddc671e5af2325662">LDClient.detection.IProcessUtils</a>.</p>
|
165
|
|
166
|
</div>
|
167
|
</div>
|
168
|
<a id="a851a0af6188cf17614870a94ddb87fc4" name="a851a0af6188cf17614870a94ddb87fc4"></a>
|
169
|
<h2 class="memtitle"><span class="permalink"><a href="#a851a0af6188cf17614870a94ddb87fc4">◆ </a></span>IsProcessRunning()</h2>
|
170
|
|
171
|
<div class="memitem">
|
172
|
<div class="memproto">
|
173
|
<table class="memname">
|
174
|
<tr>
|
175
|
<td class="memname">bool LDClient.detection.ProcessUtils.IsProcessRunning </td>
|
176
|
<td>(</td>
|
177
|
<td class="paramtype">string </td>
|
178
|
<td class="paramname"><em>name</em></td><td>)</td>
|
179
|
<td></td>
|
180
|
</tr>
|
181
|
</table>
|
182
|
</div><div class="memdoc">
|
183
|
|
184
|
<p>Checks if a process is running or not. </p>
|
185
|
<dl class="params"><dt>Parameters</dt><dd>
|
186
|
<table class="params">
|
187
|
<tr><td class="paramname">name</td><td>Name of the process</td></tr>
|
188
|
</table>
|
189
|
</dd>
|
190
|
</dl>
|
191
|
<dl class="section return"><dt>Returns</dt><dd>True, if the process is running. False otherwise.</dd></dl>
|
192
|
|
193
|
<p>Implements <a class="el" href="interface_l_d_client_1_1detection_1_1_i_process_utils.html#ad86c09b9bd71f7087ada92851b07e1a0">LDClient.detection.IProcessUtils</a>.</p>
|
194
|
|
195
|
</div>
|
196
|
</div>
|
197
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
198
|
<li>detection/ProcessUtils.cs</li>
|
199
|
</ul>
|
200
|
</div><!-- contents -->
|
201
|
</div><!-- doc-content -->
|
202
|
<!-- start footer part -->
|
203
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
204
|
<ul>
|
205
|
<li class="navelem"><a class="el" href="namespace_l_d_client.html">LDClient</a></li><li class="navelem"><a class="el" href="namespace_l_d_client_1_1detection.html">detection</a></li><li class="navelem"><a class="el" href="class_l_d_client_1_1detection_1_1_process_utils.html">ProcessUtils</a></li>
|
206
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
|
207
|
</ul>
|
208
|
</div>
|
209
|
</body>
|
210
|
</html>
|