public sealed class UtilProcess
Public NotInheritable Class UtilProcess
Dim instance As UtilProcess
public ref class UtilProcess sealed
[<SealedAttribute>]
type UtilProcess = class end
No code example is currently available or this language may not be supported.
CloseProcesses | Closes all the ocurrences found of running processes with the specified name. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
ForEachProcessByName | Performs an action on all the Process objects found of running processes with the specified name. |
ForEachProcessByNameGetT | Performs an action on all the Process objects found of running processes with the specified name. |
GetCurrentProcessCriticalState | Determines whether the caller process is considered critical. |
GetCurrentProcessPrivilegeState(ProcessPrivileges) | Gets the state of a privilege from the current process. |
GetCurrentProcessPrivilegeState(String, ProcessPrivileges) | Gets the state of a privilege from the current process on the target computer. |
GetCurrentProcessPrivilegeStates(String) | Returns a collection with the current privilege state (enabled, disabled, removed, etc) of each process privilege on the current process. |
GetCurrentProcessPrivilegeStates(PrivilegeStates, String) | Returns a collection with the process privileges that matches the given privilege state (enabled, disabled, removed, etc) on the current process. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetProcessCpuPercentUsage(Int32) | Gets the CPU percentage usage for the process with the specified process id. (PID). |
GetProcessCpuPercentUsage(Process) | Gets the CPU percentage usage for the specified Process. |
GetProcessCpuPercentUsageAsync(Int32) | Asynchronously gets the CPU percentage usage for the specified Process. |
GetProcessCpuPercentUsageAsync(Process) | Asynchronously gets the CPU percentage usage for the specified Process. |
GetProcessCriticalState | Determines whether the specified process is considered critical. |
GetProcessPerformanceCounter(Int32, String) | Gets a PerformanceCounter of the categry name "Process" with the specified counter name for the process with the specified process id. (PID). |
GetProcessPerformanceCounter(Process, String) | Gets a PerformanceCounter of the categry name "Process" with the specified counter name for the specified process. |
GetProcessPrivilegeState(Int32, ProcessPrivileges) | Gets the state of a privilege from the specified process. |
GetProcessPrivilegeState(Process, ProcessPrivileges) | Gets the state of a privilege from the specified process. |
GetProcessPrivilegeState(String, Process, ProcessPrivileges) | Gets the state of a privilege from the specified process on the target computer. |
GetProcessPrivilegeState(String, Int32, ProcessPrivileges) | Gets the state of a privilege from the specified process on the target computer. |
GetProcessRamPercentUsage(Int32) | Gets the RAM percentage usage (the amount of physical memory allocated) for the process with the specified process id. (PID). |
GetProcessRamPercentUsage(Process) | Gets the RAM percentage usage (the amount of physical memory allocated) for the process with the specified process id. (PID). |
GetProcessRamPercentUsageAsync(Int32) | Asynchronously gets the RAM percentage usage (the amount of physical memory allocated) for the process with the specified process id. (PID). |
GetProcessRamPercentUsageAsync(Process) | Asynchronously gets the RAM percentage usage (the amount of physical memory allocated) for the process with the specified process id. (PID). |
GetProcessSecurityDescriptor(Int32) | Gets the security descriptor of the specified process. |
GetProcessSecurityDescriptor(IntPtr) | Gets the security descriptor of the specified process. |
GetProcessSecurityDescriptor(Process) | Gets the security descriptor of the specified process. |
GetType | Gets the Type of the current instance. (Inherited from Object) |
GetWmiProcessQuery | Performs a WMI query to Win32_Process class with the specified condition and returns the result. |
IsRunning | Determines whether exists at least one running process running with the specified name. |
KillProcess | Kills the first ocurrence found of a running process with the specified name. |
KillProcesses | Kills all the ocurrence found of running processes with the specified name. |
SetCurrentProcessCriticalState | Sets the critical state for the caller process. |
SetCurrentProcessPrivileges(ProcessPrivileges, PrivilegeStates) | Enable or disable a process privilege for the current process. Note that this method cannot add or remove privileges for external processes. It can only enable existing privileges that are currently disabled, or disable existing privileges that are currently enabled. Trying to enable or disable a removed privilege will result in a exception. In order to avoid this exception, it is recommended to call GetProcessPrivilegeState(Process, ProcessPrivileges) to determine whether a privilege is removed before calling this method. |
SetCurrentProcessPrivileges(String, ProcessPrivileges, PrivilegeStates) | Enable or disable a process privilege for the current process. Note that this method cannot add or remove privileges for external processes. It can only enable existing privileges that are currently disabled, or disable existing privileges that are currently enabled. Trying to enable or disable a removed privilege will result in a exception. In order to avoid this exception, it is recommended to call GetProcessPrivilegeState(Process, ProcessPrivileges) to determine whether a privilege is removed before calling this method. |
SetProcessPrivileges(Int32, ProcessPrivileges, PrivilegeStates) | Enable or disable a process privilege for the specified process. Note that this method cannot add or remove privileges for external processes. It can only enable existing privileges that are currently disabled, or disable existing privileges that are currently enabled. Trying to enable or disable a removed privilege will result in a exception. In order to avoid this exception, it is recommended to call GetProcessPrivilegeState(Process, ProcessPrivileges) to determine whether a privilege is removed before calling this method. |
SetProcessPrivileges(Process, ProcessPrivileges, PrivilegeStates) | Enable or disable a process privilege for the specified process. Note that this method cannot add or remove privileges for external processes. It can only enable existing privileges that are currently disabled, or disable existing privileges that are currently enabled. Trying to enable or disable a removed privilege will result in a exception. In order to avoid this exception, it is recommended to call GetProcessPrivilegeState(Process, ProcessPrivileges) to determine whether a privilege is removed before calling this method. |
SetProcessPrivileges(String, Process, ProcessPrivileges, PrivilegeStates) | Enable or disable a process privilege for the specified process on the target computer. Note that this method cannot add or remove privileges for external processes. It can only enable existing privileges that are currently disabled, or disable existing privileges that are currently enabled. Trying to enable or disable a removed privilege will result in a exception. In order to avoid this exception, it is recommended to call GetProcessPrivilegeState(Process, ProcessPrivileges) to determine whether a privilege is removed before calling this method. |
SetProcessPrivileges(String, Int32, ProcessPrivileges, PrivilegeStates) | Enable or disable a process privilege for the specified process on the target computer. Note that this method cannot add or remove privileges for external processes. It can only enable existing privileges that are currently disabled, or disable existing privileges that are currently enabled. Trying to enable or disable a removed privilege will result in a exception. In order to avoid this exception, it is recommended to call GetProcessPrivilegeState(Process, ProcessPrivileges) to determine whether a privilege is removed before calling this method. |
SetProcessSecurityDescriptor(Int32, RawSecurityDescriptor) | Sets the security descriptor of the specified process. |
SetProcessSecurityDescriptor(IntPtr, RawSecurityDescriptor) | Sets the security descriptor of the specified process. |
SetProcessSecurityDescriptor(Process, RawSecurityDescriptor) | Sets the security descriptor of the specified process. |
SleepThread(Int32, TimeSpan) | Suspends the specified thread for the given amount of time. |
SleepThread(IntPtr, TimeSpan) | Suspends the specified thread for the given amount of time. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
WaitUntilLoaded |
Blocks the caller thread until te specified process has been fully loaded.
Obsolete. |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |