WebManagementEvent.ProcessInformation Property
.NET Framework (current version)
Gets information about the ASP.NET application-hosting process.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Web.Management.WebProcessInformationA WebProcessInformation object that contains information about the process.
The following code example shows how to obtain the ProcessInformation value.
' Obtains the current process information. Public Function GetProcessInfo() As String Dim tempPi As New StringBuilder() Dim pi As WebProcessInformation = ProcessInformation tempPi.Append( _ (pi.ProcessName + Environment.NewLine)) tempPi.Append( _ (pi.ProcessID.ToString() + Environment.NewLine)) tempPi.Append( _ (pi.AccountName + Environment.NewLine)) Return tempPi.ToString() End Function 'GetProcessInfo
.NET Framework
Available since 2.0
Available since 2.0
Show: