|
97 | 97 |
|
98 | 98 | This type implements the <xref:System.IDisposable> interface. When you have finished using the type, you should dispose of it either directly or indirectly. To dispose of the type directly, call its <xref:System.IDisposable.Dispose%2A> method in a `try`/`finally` block. To dispose of it indirectly, use a language construct such as `using` (in C#) or `Using` (in Visual Basic). For more information, see the "Using an Object that Implements IDisposable" section in the <xref:System.IDisposable> interface topic.
|
99 | 99 |
|
| 100 | + [!INCLUDE [untrusted-data-class-note](~/includes/untrusted-data-class-note.md)] |
| 101 | + |
100 | 102 | > [!NOTE]
|
101 | 103 | > 32-bit processes cannot access the modules of a 64-bit process. If you try to get information about a 64-bit process from a 32-bit process, you will get a <xref:System.ComponentModel.Win32Exception> exception. A 64-bit process, on the other hand, can access the modules of a 32-bit process.
|
102 | 104 |
|
@@ -5308,6 +5310,8 @@ There is a similar issue when you read all text from both the standard output an
|
5308 | 5310 |
|
5309 | 5311 | You can start a ClickOnce application by specifying the location (for example, a Web address) from which you originally installed the application. Do not start a ClickOnce application by specifying its installed location on your hard drive.
|
5310 | 5312 |
|
| 5313 | + [!INCLUDE [untrusted-data-instance-note](~/includes/untrusted-data-instance-note.md)] |
| 5314 | + |
5311 | 5315 | > [!NOTE]
|
5312 | 5316 | > If you are using Visual Studio, this overload of the <xref:System.Diagnostics.Process.Start%2A> method is the one that you insert into your code after you drag a <xref:System.Diagnostics.Process> component onto the designer. Use the `Properties` window to expand the `StartInfo` category and write the appropriate value into the `FileName` property. Your changes will appear in the form's `InitializeComponent` procedure.
|
5313 | 5317 |
|
@@ -5415,6 +5419,8 @@ The <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> member
|
5415 | 5419 | ## Remarks
|
5416 | 5420 | Use this overload to start a process resource by specifying a <xref:System.Diagnostics.ProcessStartInfo> instance. The overload associates the resource with a new <xref:System.Diagnostics.Process> object.
|
5417 | 5421 |
|
| 5422 | + [!INCLUDE [untrusted-data-method-note](~/includes/untrusted-data-method-note.md)] |
| 5423 | + |
5418 | 5424 | > [!NOTE]
|
5419 | 5425 | > If the address of the executable file to start is a URL, the process is not started and `null` is returned.
|
5420 | 5426 |
|
@@ -5538,6 +5544,8 @@ The <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> member
|
5538 | 5544 | ## Remarks
|
5539 | 5545 | Use this overload to start a process resource by specifying its file name. The overload associates the resource with a new <xref:System.Diagnostics.Process> object.
|
5540 | 5546 |
|
| 5547 | + [!INCLUDE [untrusted-data-method-note](~/includes/untrusted-data-method-note.md)] |
| 5548 | + |
5541 | 5549 | > [!NOTE]
|
5542 | 5550 | > If the address of the executable file to start is a URL, the process is not started and `null` is returned.
|
5543 | 5551 |
|
@@ -5627,7 +5635,16 @@ The file specified in the <paramref name="fileName" /> could not be found.</exce
|
5627 | 5635 | <param name="arguments">The command-line arguments to pass when starting the process.</param>
|
5628 | 5636 | <summary>Starts a process resource by specifying the name of an application and a set of command line arguments.</summary>
|
5629 | 5637 | <returns>A new <see cref="T:System.Diagnostics.Process" /> that is associated with the process resource, or <see langword="null" /> if no process resource is started.</returns>
|
5630 |
| - <remarks>Each argument will be escaped automatically if required.</remarks> |
| 5638 | + <remarks> |
| 5639 | + <format type="text/markdown"><] |
| 5645 | + |
| 5646 | + ]]></format> |
| 5647 | + </remarks> |
5631 | 5648 | </Docs>
|
5632 | 5649 | </Member>
|
5633 | 5650 | <Member MemberName="Start">
|
@@ -5692,6 +5709,8 @@ The file specified in the <paramref name="fileName" /> could not be found.</exce
|
5692 | 5709 | ## Remarks
|
5693 | 5710 | Use this overload to start a process resource by specifying its file name and command-line arguments. The overload associates the resource with a new <xref:System.Diagnostics.Process> object.
|
5694 | 5711 |
|
| 5712 | + [!INCLUDE [untrusted-data-method-note](~/includes/untrusted-data-method-note.md)] |
| 5713 | + |
5695 | 5714 | > [!NOTE]
|
5696 | 5715 | > If the address of the executable file to start is a URL, the process is not started and `null` is returned.
|
5697 | 5716 |
|
@@ -5801,6 +5820,8 @@ The file specified in the <paramref name="fileName" /> could not be found.
|
5801 | 5820 | ## Remarks
|
5802 | 5821 | Use this overload to create a new process and its primary thread by specifying its file name, user name, password, and domain. The new process then runs the specified executable file in the security context of the specified credentials (user, domain, and password).
|
5803 | 5822 |
|
| 5823 | + [!INCLUDE [untrusted-data-method-note](~/includes/untrusted-data-method-note.md)] |
| 5824 | + |
5804 | 5825 | > [!NOTE]
|
5805 | 5826 | > When the executable file is located on a remote drive, you must identify the network share by using a uniform resource identifier (URI), not a linked drive letter.
|
5806 | 5827 |
|
@@ -5899,6 +5920,8 @@ The file specified in the <paramref name="fileName" /> could not be found.</exce
|
5899 | 5920 | ## Remarks
|
5900 | 5921 | Use this overload to create a new process and its primary thread by specifying its file name, command-line arguments, user name, password, and domain. The new process then runs the specified executable file in the security context of the specified credentials (user, domain, and password).
|
5901 | 5922 |
|
| 5923 | + [!INCLUDE [untrusted-data-method-note](~/includes/untrusted-data-method-note.md)] |
| 5924 | + |
5902 | 5925 | > [!NOTE]
|
5903 | 5926 | > When the executable file is located on a remote drive, you must identify the network share by using a uniform resource identifier (URI), not a linked drive letter.
|
5904 | 5927 |
|
|
0 commit comments