| 8 |
|
ClientLeft = 45 |
| 9 |
|
ClientTop = 330 |
| 10 |
|
ClientWidth = 4710 |
| 11 |
+ |
Icon = "nettest.frx":0000 |
| 12 |
|
LinkTopic = "Form1" |
| 13 |
|
MaxButton = 0 'False |
| 14 |
|
MinButton = 0 'False |
| 42 |
|
MultiLine = -1 'True |
| 43 |
|
ScrollBars = 2 'Vertical |
| 44 |
|
TabIndex = 1 |
| 45 |
< |
Text = "nettest.frx":0000 |
| 45 |
> |
Text = "nettest.frx":0742 |
| 46 |
|
Top = 3000 |
| 47 |
|
Width = 3975 |
| 48 |
|
End |
| 183 |
|
filterManagerHostname = Left$(buf, length) |
| 184 |
|
length = GetPrivateProfileInt("i-scream Winhost", "FilterManagerPort", 0, App.Path & "/winhost.ini") |
| 185 |
|
filterManagerTCPPort = length |
| 186 |
+ |
On Error GoTo 0 |
| 187 |
|
skip: |
| 188 |
|
|
| 189 |
|
Status.Caption = "Connecting to Filter Manager " & filterManagerHostname & ":" & filterManagerTCPPort |
| 190 |
|
Reconfigure_Click |
| 191 |
|
|
| 192 |
< |
Form1.Show |
| 192 |
> |
SystemTray.Icon = Val(Form1.Icon) |
| 193 |
|
SystemTray.Action = 0 |
| 194 |
|
|
| 195 |
|
|
| 404 |
|
memory& = memsts.dwAvailVirtual |
| 405 |
|
swapFree = memory& \ 1024 |
| 406 |
|
|
| 407 |
+ |
uptime = GetTickCount \ 1000 |
| 408 |
+ |
|
| 409 |
|
' build the contents of the XML packet |
| 410 |
|
xml = "<packet seq_no=""" & seqNo & """ machine_name=""" & machineName & """ date=""" & packetDate & """ type=""data"" ip=""" & LocalIP & """>" & _ |
| 411 |
|
"<os>" & _ |
| 415 |
|
"<platform>" & osName & "</platform>" & _ |
| 416 |
|
"<minor_version>" & osVersionMinor & "</minor_version>" & _ |
| 417 |
|
"<processor>" & processorType & "</processor>" & _ |
| 418 |
+ |
"<uptime>" & uptime & "</uptime>" & _ |
| 419 |
|
"</os>" & _ |
| 420 |
|
"<memory><total>" & memTotal & "</total><free>" & memFree & "</free></memory>" & _ |
| 421 |
|
"<swap><total>" & swapTotal & "</total><free>" & swapFree & "</free></swap>" & _ |