ProcessTrafficMonitor Constructor
Namespace: DevCase.Core.Networking.TrafficMonitoringAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public ProcessTrafficMonitor(
int processId
)
Public Sub New (
processId As Integer
)
Dim processId As Integer
Dim instance As New ProcessTrafficMonitor(processId)
public:
ProcessTrafficMonitor(
int processId
)
new :
processId : int -> ProcessTrafficMonitor
No code example is currently available or this language may not be supported.
Parameters
- processId Int32
-
The PID of the process to monitor.
Note that the process should have the performance counters feature enabled to be able to use the counters.
The application's configuration file (app.config) should look like this:
No code example is currently available or this language may not be supported.
<configuration>
...
<system.net>
<settings>
<performanceCounters enabled="true"/>
</settings>
</system.net>
...
</configuration>
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
MSDN Documentation:
https://msdn.microsoft.com/en-us/library/ms229151%28v=vs.110%29.aspx