®TRasMonitor
Remote Access Service component for Borland/Inprise Delphi.
Version:
1.0
Developer: BITLOGIC Software
Copyright: BITLOGIC © 2001
Email: components@bitlogic.co.uk
Web: www.bitlogic.co.uk
SecureLink: order
online here..
Download: rasmonitor.zip
FileSize: 185kb
Overview
Whenever an internet
connection is established through the RAS Dialup, usually the ISP assigns
a temporary IP address to the calling PC. Using this unique IP address the PC
can communicate with the
outside world and can also be used to act as a Server by publishing this IP
address to Clients.
In some cases, the ISP assigns a Fixed or Permanent IP address to the calling
PC which does not
change on each connection to the internet. A fixed IP Address is much desired
by Network users, but the
service also comes with a fee with certain ISP's. Your
PC's IP address can be compared to your Telephone
number, people who know it can easily contact you when available.
Component Features
- Notification
of Active RAS Connection to the Internet.
- Notification
of Disconnection from the Internet.
- Full Status
information of RAS Dialup device and Connection Status.
- Returns Local
IP Address and HostName of PC System.
- Returns RASClient
Assigned Internet Address and Hostname for Dialup connection.
- Returns RASServer
ISP Server Address and Hostname for Dialup connection.
- Function to
Hangup any Active RAS Connection.
- Simple operation
and integration into any application project.
Component Installation
Simply install
the registration file CPRasMonitorReg.pas
as a new component into an existing or
new Package from within the Delphi IDE. The Component should then be available
under the Internet Palette.
Component Usage
Use the RasMonitor
Component in your project to check for an active connection to the internet
and to also obtain the assigned IP/HostName from the Internet Service Provider.
Follow these
steps:
- Place the component
into your current project.
- Set the PollInterval
in miliseconds to monitor the RAS Service.
- Set the Notification
Events.
- Set the Enabled
property to True to start Monitoring.
- When a connection
is detected, view the properties and take action.
Methods, Events
& Properties
Methods:
- GetLocalIP
Returns the Local IP Address of the PC.
- GetLocalHost
Returns the Local HostName of the PC.
- WSGetHostByAddr
Converts an IP Address to a HostName.
- GetRasConnection
Fills the passed var TRasConnectionDetails and Returns Online/Offline.
- HangupRasConnection
Hangsup the passed var HRasConn and Returns Result code.
Events:
- OnRasConnected
Notification Event of RAS Connection.
- OnRasDisconnected
Notification Event of RAS Disconnection.
- OnRasStatusChanged
Notification Event of RAS Status changing.
Properties:
- Enabled
Starts/Stops the RAS Monitoring.
- PollInterval
Sets the Polling Interval in miliseconds for Monitoring of RAS.
- Online
Indicates Status of Internet Connection.
- RasApiLoaded
Indicates if RASAPI Loaded, must be True for component operation.
- ConnectionDetails
Record of RAS Connection Details of Type TRasConnectionDetails.
- LocalIP
IP Address pf Local PC.
- LocalHost
HostName of Local PC.
- RasClientIP
IP Address of RAS Internet Client. Available after Connection.
- RasClientHost
HostName of RAS Internet Client. Available after Connection
- RasServerIP
IP Address of RAS ISP Server. Available after Connection
- RasServerHost
HostName of RAS ISP Server. Available after Connection
Component Source
Full-Unrestricted
Source is available after ordering from the Website.
Source Prices are as follows:
Delphi Component
Source £9.95 UK Pounds
Delphi Component Source $14.95 US Dollars
Secure OrderLink:
Order
Online here..
BITLOGIC
Software Developers of Windows Monitoring and
Security Applications, Utilities and Components.