wasSharpNET – Diff between revs 9 and 11
?pathlinks?
Rev 9 | Rev 11 | |||
---|---|---|---|---|
Line 56... | Line 56... | |||
56 | |
56 | |
|
57 | checkProcess.Start(); |
57 | checkProcess.Start(); |
|
58 | checkProcess.BeginOutputReadLine(); |
58 | checkProcess.BeginOutputReadLine(); |
|
Line 59... | Line -... | |||
59 | checkProcess.WaitForExit(); |
- | ||
60 | |
59 | checkProcess.WaitForExit(); |
|
61 | |
60 | |
|
62 | return URLReservationRegex.IsMatch(netSHOutput.ToString()); |
61 | return URLReservationRegex.IsMatch(netSHOutput.ToString()); |
|
Line 63... | Line 62... | |||
63 | } |
62 | } |
|
Line 85... | Line 84... | |||
85 | WindowStyle = ProcessWindowStyle.Hidden, |
84 | WindowStyle = ProcessWindowStyle.Hidden, |
|
86 | UseShellExecute = true |
85 | UseShellExecute = true |
|
87 | }).WaitForExit(); |
86 | }).WaitForExit(); |
|
88 | } |
87 | } |
|
89 | } |
88 | } |
|
90 | } |
- | ||
91 | |
89 | } |
|
- | 90 | |