Process.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. //
  2. // System.Diagnostics.Process.cs
  3. //
  4. // Authors:
  5. // Dick Porter ([email protected])
  6. //
  7. // (C) 2002 Ximian, Inc.
  8. //
  9. using System;
  10. using System.IO;
  11. using System.ComponentModel;
  12. namespace System.Diagnostics {
  13. public class Process : Component {
  14. [MonoTODO]
  15. public Process() {
  16. }
  17. [MonoTODO]
  18. public int BasePriority {
  19. get {
  20. return(0);
  21. }
  22. }
  23. [MonoTODO]
  24. public bool EnableRaisingEvents {
  25. get {
  26. return(false);
  27. }
  28. set {
  29. }
  30. }
  31. [MonoTODO]
  32. public int ExitCode {
  33. get {
  34. return(0);
  35. }
  36. }
  37. [MonoTODO]
  38. public DateTime ExitTime {
  39. get {
  40. return(new DateTime(0));
  41. }
  42. }
  43. [MonoTODO]
  44. public IntPtr Handle {
  45. get {
  46. return((IntPtr)0);
  47. }
  48. }
  49. [MonoTODO]
  50. public int HandleCount {
  51. get {
  52. return(0);
  53. }
  54. }
  55. [MonoTODO]
  56. public bool HasExited {
  57. get {
  58. return(false);
  59. }
  60. }
  61. [MonoTODO]
  62. public int Id {
  63. get {
  64. return(0);
  65. }
  66. }
  67. [MonoTODO]
  68. public string MachineName {
  69. get {
  70. return("localhost");
  71. }
  72. }
  73. [MonoTODO]
  74. public ProcessModule MainModule {
  75. get {
  76. return(null);
  77. }
  78. }
  79. [MonoTODO]
  80. public IntPtr MainWindowHandle {
  81. get {
  82. return((IntPtr)0);
  83. }
  84. }
  85. [MonoTODO]
  86. public string MainWindowTitle {
  87. get {
  88. return("null");
  89. }
  90. }
  91. [MonoTODO]
  92. public IntPtr MaxWorkingSet {
  93. get {
  94. return((IntPtr)0);
  95. }
  96. set {
  97. }
  98. }
  99. [MonoTODO]
  100. public IntPtr MinWorkingSet {
  101. get {
  102. return((IntPtr)0);
  103. }
  104. set {
  105. }
  106. }
  107. [MonoTODO]
  108. public ProcessModuleCollection Modules {
  109. get {
  110. return(null);
  111. }
  112. }
  113. [MonoTODO]
  114. public int NonpagedSystemMemorySize {
  115. get {
  116. return(0);
  117. }
  118. }
  119. [MonoTODO]
  120. public int PagedMemorySize {
  121. get {
  122. return(0);
  123. }
  124. }
  125. [MonoTODO]
  126. public int PagedSystemMemorySize {
  127. get {
  128. return(0);
  129. }
  130. }
  131. [MonoTODO]
  132. public int PeakPagedMemorySize {
  133. get {
  134. return(0);
  135. }
  136. }
  137. [MonoTODO]
  138. public int PeakVirtualMemorySize {
  139. get {
  140. return(0);
  141. }
  142. }
  143. [MonoTODO]
  144. public int PeakWorkingSet {
  145. get {
  146. return(0);
  147. }
  148. }
  149. [MonoTODO]
  150. public bool PriorityBoostEnabled {
  151. get {
  152. return(false);
  153. }
  154. set {
  155. }
  156. }
  157. [MonoTODO]
  158. public ProcessPriorityClass PriorityClass {
  159. get {
  160. return(ProcessPriorityClass.Normal);
  161. }
  162. set {
  163. }
  164. }
  165. [MonoTODO]
  166. public int PrivateMemorySize {
  167. get {
  168. return(0);
  169. }
  170. }
  171. [MonoTODO]
  172. public TimeSpan PrivilegedProcessorTime {
  173. get {
  174. return(new TimeSpan(0));
  175. }
  176. }
  177. [MonoTODO]
  178. public string ProcessName {
  179. get {
  180. return("this-process");
  181. }
  182. }
  183. [MonoTODO]
  184. public IntPtr ProcessorAffinity {
  185. get {
  186. return((IntPtr)0);
  187. }
  188. set {
  189. }
  190. }
  191. [MonoTODO]
  192. public bool Responding {
  193. get {
  194. return(false);
  195. }
  196. }
  197. [MonoTODO]
  198. public StreamReader StandardError {
  199. get {
  200. return(null);
  201. }
  202. }
  203. [MonoTODO]
  204. public StreamWriter StandardInput {
  205. get {
  206. return(null);
  207. }
  208. }
  209. [MonoTODO]
  210. public StreamReader StandardOutput {
  211. get {
  212. return(null);
  213. }
  214. }
  215. [MonoTODO]
  216. public ProcessStartInfo StartInfo {
  217. get {
  218. return(null);
  219. }
  220. set {
  221. }
  222. }
  223. [MonoTODO]
  224. public DateTime StartTime {
  225. get {
  226. return(new DateTime(0));
  227. }
  228. }
  229. [MonoTODO]
  230. public ISynchronizeInvoke SynchronizingObject {
  231. get {
  232. return(null);
  233. }
  234. set {
  235. }
  236. }
  237. [MonoTODO]
  238. public ProcessThreadCollection Threads {
  239. get {
  240. return(null);
  241. }
  242. }
  243. [MonoTODO]
  244. public TimeSpan TotalProcessorTime {
  245. get {
  246. return(new TimeSpan(0));
  247. }
  248. }
  249. [MonoTODO]
  250. public TimeSpan UserProcessorTime {
  251. get {
  252. return(new TimeSpan(0));
  253. }
  254. }
  255. [MonoTODO]
  256. public int VirtualMemorySize {
  257. get {
  258. return(0);
  259. }
  260. }
  261. [MonoTODO]
  262. public int WorkingSet {
  263. get {
  264. return(0);
  265. }
  266. }
  267. [MonoTODO]
  268. public void Close() {
  269. }
  270. [MonoTODO]
  271. public bool CloseMainWindow() {
  272. return(false);
  273. }
  274. [MonoTODO]
  275. public static void EnterDebugMode() {
  276. }
  277. [MonoTODO]
  278. public static Process GetCurrentProcess() {
  279. return(null);
  280. }
  281. [MonoTODO]
  282. public static Process GetProcessById(int processId) {
  283. return(null);
  284. }
  285. [MonoTODO]
  286. public static Process GetProcessById(int processId, string machineName) {
  287. return(null);
  288. }
  289. [MonoTODO]
  290. public static Process[] GetProcesses() {
  291. return(null);
  292. }
  293. [MonoTODO]
  294. public static Process[] GetProcesses(string machineName) {
  295. return(null);
  296. }
  297. [MonoTODO]
  298. public static Process[] GetProcessesByName(string processName) {
  299. return(null);
  300. }
  301. [MonoTODO]
  302. public static Process[] GetProcessesByName(string processName, string machineName) {
  303. return(null);
  304. }
  305. [MonoTODO]
  306. public void Kill() {
  307. }
  308. [MonoTODO]
  309. public static void LeaveDebugMode() {
  310. }
  311. [MonoTODO]
  312. public void Refresh() {
  313. }
  314. [MonoTODO]
  315. public bool Start() {
  316. return(false);
  317. }
  318. [MonoTODO]
  319. public static Process Start(ProcessStartInfo startInfo) {
  320. return(null);
  321. }
  322. [MonoTODO]
  323. public static Process Start(string fileName) {
  324. return(null);
  325. }
  326. [MonoTODO]
  327. public static Process Start(string fileName, string arguments) {
  328. return(null);
  329. }
  330. [MonoTODO]
  331. public override string ToString() {
  332. return("process name");
  333. }
  334. [MonoTODO]
  335. public void WaitForExit() {
  336. }
  337. [MonoTODO]
  338. public bool WaitForExit(int milliseconds) {
  339. return(false);
  340. }
  341. [MonoTODO]
  342. public bool WaitForInputIdle() {
  343. return(false);
  344. }
  345. [MonoTODO]
  346. public bool WaitForInputIdle(int milliseconds) {
  347. return(false);
  348. }
  349. [MonoTODO]
  350. public event EventHandler Exited;
  351. [MonoTODO]
  352. protected override void Dispose(bool disposing) {
  353. }
  354. [MonoTODO]
  355. public override void Dispose() {
  356. }
  357. [MonoTODO]
  358. protected void OnExited() {
  359. }
  360. }
  361. }