How can someone detect spyware?

Are there utilities/applications that are specifically designed to detect spyware?  If so, what are the names and developers?

You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful: The User Tip seeks to offer guidance on the main security threats and how to avoid them.
https://discussions.apple.com/docs/DOC-2435
More useful information can also be found here:
www.thesafemac.com/mmg

Similar Messages

  • How can I detect spyware or keylogger programs directly installed on my computer?

    Hello,
    I have a serious problem. My ex had physical access to my MacBook Air and I believe he installed either spyware or a key logger program directly on my computer, as he had administrative access. It could be a program like WebWatcher or Spector Pro. There are a number of programs that allow someone to install this software by downloading it from the internet directly onto your computer.
    Unfortunately, I'm a physician whose been involved in reaserch which has classified information on it. It never occurred to me that someone would do something like this, but I am very worried that he has installed something. I recently installed MacScan and Little Snitch to determine if anything was detected.
    MacScan Displayed the following:
    Last Spware Scan Run on: Sat 4/26/14 01:15 am
    Spyware Detected on Last Scan: 0
    Total Spyware Detected in all Scans: 148
    I'm unsure if what was detected by Mac Scan were simply cookies.
    I also tried Linc Davis' suggestion and here are my results:
    Re: Detect spyware and determine who is spying on my imac 
    Apr 26, 2014 8:49 AM (in response to Linc Davis)
    Hello Linc,
    This time it asked for my password and I got:
    Last login: Sat Apr 26 11:45:48 on ttys000
    Olivias-MacBook-Air:~ MD$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    at.obdev.nke.LittleSnitch (4050)
    Olivias-MacBook-Air:~ MD$ sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
    Password:
    com.oracle.java.Helper-Tool
    com.microsoft.office.licensing.helper
    com.google.keystone.daemon
    com.adobe.fpsaud
    at.obdev.littlesnitchd
    Olivias-MacBook-Air:~ MD$ launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    com.microsoft.autoupdate.fba.42800
    com.microsoft.Office365Service.30128
    com.microsoft.Word.27840
    com.bodymedia.BodyMedia-SYNC.35760
    com.linebreak.CloudAppMacOSX.48784
    com.oracle.java.Java-Updater
    com.google.keystone.system.agent
    at.obdev.LittleSnitchUIAgent
    com.genieo.completer.update
    com.genieo.completer.download
    com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae
    Olivias-MacBook-Air:~ MD$ ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
    /Library/Components:
    /Library/Extensions:
    ATTOCelerityFC8.kext
    ATTOExpressSASHBA2.kext
    ATTOExpressSASRAID2.kext
    ArcMSR.kext
    CalDigitHDProDrv.kext
    HighPointIOP.kext
    HighPointRR.kext
    LittleSnitch.kext
    PromiseSTEX.kext
    SoftRAID.kext
    /Library/Frameworks:
    AEProfiling.framework
    AERegistration.framework
    Adobe AIR.framework
    AudioMixEngine.framework
    EWSMac.framework
    NyxAudioAnalysis.framework
    PluginManager.framework
    iTunesLibrary.framework
    /Library/Input Methods:
    /Library/Internet Plug-Ins:
    AdobePDFViewer.plugin
    AdobePDFViewerNPAPI.plugin
    AmazonMP3DownloaderPlugin101750.plugin
    Default Browser.plugin
    Flash Player.plugin
    JavaAppletPlugin.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    SharePointBrowserPlugin.plugin
    SharePointWebKitPlugin.webplugin
    Silverlight.plugin
    Unity Web Player.plugin
    flashplayer.xpt
    googletalkbrowserplugin.plugin
    nsIQTScriptablePlugin.xpt
    o1dbrowserplugin.plugin
    /Library/Keyboard Layouts:
    /Library/LaunchAgents:
    at.obdev.LittleSnitchUIAgent.plist
    com.google.keystone.agent.plist
    com.oracle.java.Java-Updater.plist
    /Library/LaunchDaemons:
    at.obdev.littlesnitchd.plist
    com.adobe.fpsaud.plist
    com.google.keystone.daemon.plist
    com.microsoft.office.licensing.helper.plist
    com.oracle.java.Helper-Tool.plist
    /Library/PreferencePanes:
    BodyMedia SYNC.prefPane
    Flash Player.prefPane
    JavaControlPanel.prefPane
    /Library/PrivilegedHelperTools:
    com.microsoft.office.licensing.helper
    /Library/QuickLook:
    iBooksAuthor.qlgenerator
    iWork.qlgenerator
    /Library/QuickTime:
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    /Library/ScriptingAdditions:
    /Library/Spotlight:
    Microsoft Office.mdimporter
    iBooksAuthor.mdimporter
    iWork.mdimporter
    /Library/StartupItems:
    /etc/mach_init.d:
    /etc/mach_init_per_login_session.d:
    /etc/mach_init_per_user.d:
    Library/Address Book Plug-Ins:
    SkypeABDialer.bundle
    SkypeABSMS.bundle
    YMsgrCallABPlugin.bundle
    YMsgrMsnABPlugin.bundle
    YMsgrSmsABPlugin.bundle
    YMsgrYimABPlugin.bundle
    Library/Fonts:
    Library/Frameworks:
    EWSMac.framework
    Library/Input Methods:
    .localized
    Library/Internet Accounts:
    V1
    Library/Internet Plug-Ins:
    Library/Keyboard Layouts:
    Library/LaunchAgents:
    com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
    com.apple.CSConfigDotMacCert-ph.dio.....@me.com-SharedServices.Agent.plist
    com.genieo.completer.download.plist
    com.genieo.completer.update.plist
    Library/PreferencePanes:
    Library/Services:
    .localized
    Olivias-MacBook-Air:~ MD$ osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    iTunesHelper, Yahoo! Messenger, Dropbox, Cloud, AdobeResourceSynchronizer, BodyMedia SYNC, TuneupMyMac
    Olivias-MacBook-Air:~ MD$
    CAN ANYONE HELP ME?
    Thank you so much.

    I am adding information from Webwatcher's own site:
    Q. Is WebWatcher easy to use?
    A. Yes. WebWatcher is very easy to use and you can begin monitoring immediately without having to read a lengthy manual. Our web based interface is user-friendly and can be conveniently accessed from any computer in the world with an Internet connection.
    Q. How does WebWatcher compare to other monitoring software?
    A. It's the most powerful and intuitive tool on the market. As the only web-based program, WebWatcher ensures the security of your data while providing you with the flexibility to monitor any computer from anywhere in the world. While some products email data, email is NOT a secure means of transporting information. Anything sent by email is extremely vulnerable, and can be seen by dozens of people before it reaches its destination. WebWatcher, however, uses 128-bit encryption guaranteeing the safety and security of your information.
    Q. Is WebWatcher PC or Mac compatible?
    A. WebWatcher is PC compatible, as well as Mac OS X compatible.
    Q. Is WebWatcher truly invisible?
    A. Absolutely! WebWatcher is 100% invisible. It doesn't run as a service, it doesn't appear in the list of running processes and there are no visible files that can be seen. Not only does WebWatcher work invisibly, but it's also friendly with all known firewall software and hardware allowing you to gather the information you need without raising any red flags.
    Q. How will I know WebWatcher is working?
    A. Just login to your secure online account to see the recorded data. Or you can enter the hotkey sequence on the monitored computer to view the WebWatcher status panel.
    Q. If I buy WebWatcher now, how soon will I receive the software?
    A. Immediately. Within minutes you'll receive a confirmation email that contains the username and password needed to download WebWatcher.
    Q. How do I install WebWatcher?
    A. Within minutes of completing your purchase, you'll receive an email with a link to the Setup Wizard. Just follow the onscreen instructions. Once the Setup Wizard is complete you'll receive a link to download the software. Important: you can complete the Setup Wizard from any computer, but the SOFTWARE MUST BE INSTALLED ON THE COMPUTER YOU WISH TO MONITOR.
    Q. Do I install WebWatcher on my computer or on the computer I want to monitor?
    A. The Setup Wizard can be installed on any computer, but the actual monitoring software must be installed on the computer you wish to monitor. Since WebWatcher is web based, you won't have to download the software onto the computer you'll use for viewing the recorded information.
    Q. Can I use different computers to check what's been recorded?
    A. Yes. Once the software is installed on the computer you wish to monitor, you can view the data from any computer in the world with Internet access.
    Q. Do WebWatcher icons or messages appear on my computer or on the monitored computer?
    A. No. Since WebWatcher runs invisibly, no icons or messages will appear on your computer or on the monitored computer.
    Q. Will WebWatcher email the recorded information to me?
    A. No. Email isn't secure for transmitting information. Any program that emails your data puts your private information at serious risk. WebWatcher offers the only web based monitoring system of its kind. We use 128-bit encryption to ensure the highest level of data security.
    Q. How do I retrieve the information that WebWatcher has recorded?
    A. Just log into our secure web based interface from any computer in the world with a standard web browser. Visit our demo to see actual screenshots of the program.
    Q. Will WebWatcher work on a laptop?
    A. Yes. WebWatcher will record computer activities and upload the data to your account when the monitored computer is reconnected to the Internet.
    Q. Does WebWatcher record emails?
    A. Yes. WebWatcher records emails and you'll be able to see the subject of the email, who sent it, who received it, the time and date email is sent and received, the contents and any attachments. Our email recorder is compatible with all of the most popular email programs including web based email.
    Q. Does WebWatcher record IMs?
    A. Yes. WebWatcher records instant messages. Our software is compatible with all of the most popular instant message programs including AOL Instant Messenger (AIM), MSN Messenger, Windows Messenger and Yahoo Messenger.
    Q. Does WebWatcher record websites visited?
    A. Yes. WebWatcher records websites visited. With just a click, you'll be able to visit the exact website visited and see what was viewed including searches performed.
    Q. Can WebWatcher block websites?
    A. Yes. WebWatcher can both block websites and record websites. When it encounters an Alert Word on a site, it can block that page or take a screenshot for later review. You can also block specific URL addresses.
    Q. Does WebWatcher have a keylogger?
    A. Yes. Our invisible key logger records every keystroke, even when a user is offline.
    Q. Do I need one license for every computer that I wish to monitor?
    A. Yes. An individual license is required for every computer that you wish to monitor. We offervolume discounts for multi-license purchases.

  • How can I detect spyware on my 5s?

    Someone I know, who secretly had my phone for 24 hours when I thought it was lost, continues to repeat things I have said....but I didn't say these things to her. I have had strange activity on my cell phone and iPad, and am concerned a spyware app is the cause. Does anyone know how to detect spyware on a 5s? I plan to restore to factory settings, but would first like to confirm there is a program on my phone. Any suggestions would be much appreciated!

    Ah...the whole purpose of "Spyware" is to make it "un-detectable". However, if your phone is not jailbroken you have nothing to worry about, as nothing like that can be installed on a non-jailbroken iPhone.

  • How can someone use a stolen iphone? does erasing the phone (which I feel like I should do) make it easier for the thief to use the iphone?  If I don't erase it, it doesn't seem like anyone should be able to use the phone because of my password.

    how can someone use a stolen iphone? does erasing the phone (which I feel like I should do) make it easier for the thief to use the iphone?  If I don't erase it, it doesn't seem like anyone should be able to use the phone because of my password. Also, is it possible to retrieve anything that has been sent to the phone (i.e. text messages) since it was stolen through icloud? The "find my iphone" app says the device is offline but it rings when I call my number -- any idea how that would be the case? Thanks!!

    You have a password, so good move on your part.  Whether you erase it or the thief does, they still get to use the iPhone as theirs.  Which is more important (pick one), protecting your data or punishing the thief?
    Ringing occurs at the carrier.  Chances are you're going to voicemail after only two or three rings.  If you have an iCloud backup also a good move.  Re-read my question in the first paragraph.

  • How can I detect a dialog and respond?

    I'm having trouble doing something that's probably not that hard. I'm trying to "Print to PDF" a bunch of old AppleWorks documents. When you open a document created in AppleWorks v6 it opens right up, but when you open a document created in AppleWorks 5 you get a dialog box that says, "This document was created by a previous version of AppleWorks. A copy will be opened and "[v6.0]" will be added to the filename."
    Right now I open the file and then:
    tell application "AppleWorks 6"
            activate
            repeat while not (exists front document)
                    delay .2
            end repeat
    end tell
    When the dialog box pops up, there's no front document so the whole thing freezes until you hit OK. How can I detect this dialog box and dismiss it?
    Thanks
    PS
    When the box is open I ran this and got this result:
    /usr/bin/osascript -e 'tell application "System Events" to get properties of windows of application process "AppleWorks 6"'
    minimum value:missing value, orientation:missing value, position:436, 153, class:window, role description:dialog, accessibility description:missing value, focused:missing value, title:missing value, size:412, 123, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXDialog, selected:missing value, name:missing value, description:dialog, minimum value:missing value, orientation:missing value, position:8, 76, class:window, role description:floating window, accessibility description:missing value, focused:missing value, title:Starting Points, size:631, 189, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXFloatingWindow, selected:missing value, name:Starting Points, description:floating window, minimum value:missing value, orientation:missing value, position:4, 22, class:window, role description:floating window, accessibility description:missing value, focused:missing value, title:Button Bar, size:612, 51, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXFloatingWindow, selected:missing value, name:Button Bar, description:floating window

    Hi,
    The simplest would be to set the application preferences in the script.
    Like this :
    -- *** set prefs ****
    tell application "AppleWorks 6"
          activate
          set oldPrefs to its preferences
          copy oldPrefs to tPrefs
          tell tPrefs
                set old version warning to false --doesn't show the old version warning alert  
                set converted file suffix to true -- append “[v6.0]” to documents converted from older formats
                set locked file warning to false
                set paint reduction warning to false
          end tell
          set preferences to tPrefs
    end tell
    -- *** end set prefs ****
    --**** your script, example ***
    set tfiles to choose file with multiple selections allowed
    tell application "AppleWorks 6"
          repeat with i in tfiles
                open i
                tell front document
                      -- do something
                end tell
          end repeat
    end tell
    --**** end  your script ***
    -- *** reset prefs ****
    tell application "AppleWorks 6" to set preferences to oldPrefs

  • How can I detect a certain text within a field within CASE using IF

    Dear all,
    for a transformation / generation of values receiving from R/3 into BW I try to
    manupulate three fields. I have a problem detecting a string in a field.
    I am using a CASE with several WHEN clauses on one field. Depending on the
    value, an IF is integrated. There I look into another field evaluating, if it contains
    a certain string. E.g. IF STRING CP 'xyz' OR 'abc'.
    System gives error for the locigal expression. I also tried CS, but same error.
    How can I detect a certain text within a field and which is the right logical
    expression.
    Many thanks in advance!!!
    Claudia

    Hi,
    Folow the blow example...
    May be it helps....
    DATA: hex1 TYPE string,
          hex2 TYPE string.
    hex1 = 'FFFF'.
    hex2 = '123FF'.
    IF hex1 CP hex2.
    ENDIF.
    Cheers,
    SImha.

  • How can i detect if my PC is not on Network..... Urgent Pls Help Soon !!!!!

    Hello Everyone,
    We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet)
    But when i send a msg from my PC to my PC, it works fine even if the network is down. I hv provided my PC's IP address instead of using localhost or 127.0.0.1 which reduces the possibility that the msg will not be traversed thru the network.
    Any IDEA how this works.
    Is There any possible way by which i can detect that my PC is not on network or the PC to which i'm trying to connect is not on network .......
    Pls help me out, its really urgent as to be implemented in my Project
    Thanks In Advance
    Sahil Shaikh

    Hello Surtee
    I have developed a Messeging Service for the eCRM Apllication my company is developing and we r in the final stage of debugging.
    Now whenever a user sends a msg to a PC which is not on network, the messaging service automatically sends an Offline mssg to that PC. But know i want ot distinguish wheather the PC to which i'm sending the msg is not on network or am I not on network based on this i need to perform diff. actions, hence i wanted to know that how can i detect .......
    Pls see if u canhelp me out ......
    Thanks
    Sahil Shaikh

  • HT1657 I have rented some movies and have them in itunes. I want to move them to my iphone but don't know how can someone help?

    I have rented some movies and have them in itunes. I want to move them to my iphone but don't know how can someone help?

    http://support.apple.com/kb/HT1390
    Regards.

  • How can we detect a virus on our mac?, How can we detect a virus on our mac?

    We think we may have a virus from the USPS spam email.  How can we detect a virus on our computer?

    What makes you think there is a "virus"?  Any symptoms...?
    There are other types of malware (such as trojans) that can affect Mac OS X, but no viruses.  A trojan would have to trick you into installing something (the malware) by making you think it is something else.  You would be notified (by the system) that you are running a downloaded application for the first time, AND if something will be done to update your current system, you will be asked to authenticate (with your admin user name and password).  If something like that comes up when you don't expect it, you should be suspicious (and NOT authenticate).  Just opening an email won't do anything, even if it's an email that may affects Windows PCs.
    This free utility can scan your Mac for malware. 
    http://www.clamxav.com/
    Apparently, there is a version on the Mac App Store.
    http://search.itunes.apple.com/WebObjects/MZContentLink.woa/wa/link?path=mac%2fC lamXav
    In the past, when I bothered to run it a few times a year, the only things it found were junk emails that I had not bothered to delete with embedded malware, all of it aimed at Windows PCs.

  • HT201209 How can someone redeem a track which i have given as a gift

    Perhap a stupid question
    How can someone redeem a specific track which I have sent as a gift in itunes.
    It is nice to read that I could sent tracks , but there is no instruction in which way the receiver can redeem the track,
    I'm handing/doing the single give-away for an artist, for the rest I'm not using Itunes. I now notice that the receivers are not redeeming the single.
    I just want to know the procedure for the receiver.
    Thanks
    Xander

    She won't be able to redeem that gift unless she moves to Germany and has a German billing address on her account - all gifts are country-specific, they can only be redeemed on accounts that have the same country on them as the person sending them, and they need to be in that country to redeem it. If you've been charged for the gift then you can try contacting iTunes Support and see if they will refund or credit you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    As you are in Netherlands then you need to update your country and billing address (and payment method if you are using a German credit card) on your account to be your Netherlands address - a store's terms of use state that you need to be in the country to use its store. You can update the details on your account via the Store > View Account menu option on your computer's iTunes

  • How can i detect the windows version

    Hi,
    How can I detect the windows version from Forms 6i?
    I was used get_application_property(operating_system); But it only return MSWINDOWS, MSWINDOWS32, WIN32COMMON.
    Any function or way can return the exact windows version(98/ME/NT/XP)?
    Regards, Wing

    You may use Win_Api_Environment API call to get windows version.
    I have sample code on my home PC if you need code send mail at [email protected]

  • How can I detect the lable of CD or hard drive?

    hi all
    How can I detect the lable of CD or hard drive?
    thanx ;)

    Hi,
    Not to my knowmledge... you must use JNI to access the OS methods for that.
    JRG

  • How can someone else with a different computer retrieve all my past text messages?

    How can someone retrieve my text messages whitha different computer, as far back as 6 months ago. Someone is reading all my past text

    Yeah no kidding.
    I have a big paid up MobileMe account with tons of gallery stuff - this will all go away for me in July, and I'll miss it - it took no learning to use, and it was built into everything - just intuitive to post to a gallery password protect it, and send a link to a friend.  Click click done!
    It bothers me a lot when features I really enjoy and use are pulled in these half baked new apps and services.
    iMovie used to be quite good, but the new one is very restrictive - it's a step backwards in some ways.
    MobileMe was fine, but iCloud takes away the Gallery???? - another step backward.
    We use some iPhones at work for shooting some videos and technical engineering photo's, and while it's pretty cool that the iPhone photo's get put on the photostream of "Jason's iMac", I don't have instant access, and I would really like to be able to do that. If it could be done, then I can stay at home and work sometimes and I can get the photo's automagically.  
    Apple - please fix this.

  • How can someone have my exact email address?

    I went to sign up for Facetime on my brand new iMac with my current email and Apple ID and then it asked if I wanted to use another email for folks to contact me on and so I entered it and then it said it could not verify the email address because someone else is using it! It is MY EMAIL ADDRESS how can someone else have my exact email address???

    I am having this problem as well signing up for iCloud on my iPad.  It's asking for an apple ID and it must be in the form of an email address, but both email addresses I use say "ID already exists".  Yet when I go to reset the password for either one, I never get the email.

  • How can I detect that there is an internet connection?

    How can I detect that there is an internet connection?
    Peter Goossens

    How can I detect that there is an internet connection?
    Peter Goossens
    Peter,
    You might want to experiment with this. It's not perfect, but...
    Class
    Imports System.IO
    Imports System.Net
    Namespace InternetConnection
    Public Class SiteInfo
    Private _displayName As String
    Private _connectionString As String
    Private Sub New(ByVal name As String, _
    ByVal connectionString As String)
    _displayName = name.Trim
    _connectionString = connectionString.Trim
    End Sub
    ''' <summary>
    ''' Gets the connection string of this instance.
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public ReadOnly Property ConnectionString() As String
    Get
    Return _connectionString
    End Get
    End Property
    ''' <summary>
    ''' Gets the display name of this instance.
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public ReadOnly Property DisplayName() As String
    Get
    Return _displayName
    End Get
    End Property
    ''' <summary>
    ''' A method which will add a new site to your collection of SiteInfo.
    ''' </summary>
    ''' <param name="siList">Your generic List(Of SiteInfo).</param>
    ''' <param name="displayName">The display name for this new instance
    ''' of SiteInfo.</param>
    ''' <param name="connectionString">The connection string for this
    ''' new instance of SiteInfo.</param>
    ''' <remarks></remarks>
    Public Shared Sub AddNew(ByRef siList As List(Of SiteInfo), _
    ByVal displayName As String, _
    ByVal connectionString As String)
    Try
    If siList Is Nothing Then
    Throw New NullReferenceException("The collection of SiteInfo cannot be null.")
    ElseIf String.IsNullOrEmpty(displayName) OrElse displayName.Trim = "" Then
    Throw New ArgumentException("The display name cannot be null or empty.")
    ElseIf String.IsNullOrEmpty(connectionString) OrElse connectionString.Trim = "" Then
    Throw New ArgumentException("The connection string cannot be null or empty.")
    Else
    If siList.Count > 0 Then
    Dim findDuplicate As IEnumerable(Of SiteInfo) = _
    From si As SiteInfo In siList _
    Where si.DisplayName.ToLower.Replace(" "c, "") = _
    displayName.ToLower.Replace(" "c, "") AndAlso _
    si.ConnectionString.ToLower.Replace(" "c, "") = _
    connectionString.ToLower.Replace(" "c, "")
    If findDuplicate.Count <> 0 Then
    Throw New ArgumentException("This is a duplicate entry.")
    Else
    siList.Add(New SiteInfo(displayName, connectionString))
    End If
    Else
    siList.Add(New SiteInfo(displayName, connectionString))
    End If
    End If
    Catch ex As Exception
    Throw
    End Try
    End Sub
    ''' <summary>
    ''' A method which will return a boolean value to indicate internet
    ''' connection status.
    ''' </summary>
    ''' <param name="siList">Your generic List(Of SiteInfo).</param>
    ''' <param name="displayName">The display name for the instance
    ''' of SiteInfo to use.</param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Shared Function InternetIsConnected(ByVal siList As List(Of SiteInfo), _
    ByVal displayName As String) As Boolean
    Dim retVal As Boolean = False
    Try
    If siList Is Nothing Then
    Throw New NullReferenceException("The collection of SiteInfo cannot be null.")
    ElseIf siList.Count = 0 Then
    Throw New ArgumentOutOfRangeException("Count", "The collection of SiteInfo cannot be empty.")
    ElseIf String.IsNullOrEmpty(displayName) OrElse displayName.Trim = "" Then
    Throw New ArgumentException("The display name cannot be null or empty.")
    Else
    Dim findInstance As IEnumerable(Of SiteInfo) = _
    From si As SiteInfo In siList _
    Where si.DisplayName.ToLower.Replace(" "c, "") = _
    displayName.ToLower.Replace(" "c, "")
    If findInstance.Count <> 1 Then
    Throw New ArgumentException("This instance is not in the collection of SiteInfo.")
    Else
    retVal = TestConnection(findInstance.First.ConnectionString)
    End If
    End If
    Catch ex As Exception
    Throw
    End Try
    Return retVal
    End Function
    Private Shared Function TestConnection(ByVal url As String) As Boolean
    Dim retVal As Boolean = False
    Try
    Dim request As WebRequest = WebRequest.Create(url)
    Using response As HttpWebResponse = DirectCast(request.GetResponse, HttpWebResponse)
    Using dataStream As Stream = response.GetResponseStream
    Using reader As New StreamReader(dataStream)
    Dim responseFromServer As String = reader.ReadToEnd()
    retVal = True
    End Using
    End Using
    End Using
    Catch ex As WebException
    retVal = True
    Catch ex As Exception
    retVal = False
    End Try
    Return retVal
    End Function
    End Class
    End Namespace
    Example Usage
    Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) _
    Handles MyBase.Load
    Dim siList As New List(Of InternetConnection.SiteInfo)
    InternetConnection.SiteInfo.AddNew(siList, _
    "Test1", _
    "http://dev.virtualearth.net/REST/v1/Locations/37221?o=xml")
    InternetConnection.SiteInfo.AddNew(siList, _
    "Test2", _
    "nothing here")
    InternetConnection.SiteInfo.AddNew(siList, "Test3", _
    "www.google.com")
    InternetConnection.SiteInfo.AddNew(siList, "Test4", _
    "http://fls-online.com")
    ' This will return true:
    Dim bool1 As Boolean = _
    InternetConnection.SiteInfo.InternetIsConnected(siList, _
    "Test1")
    ' This will return false:
    Dim bool2 As Boolean = _
    InternetConnection.SiteInfo.InternetIsConnected(siList, _
    "Test2")
    ' This will return false:
    Dim bool3 As Boolean = _
    InternetConnection.SiteInfo.InternetIsConnected(siList, _
    "Test3")
    ' This will return true:
    Dim bool4 As Boolean = _
    InternetConnection.SiteInfo.InternetIsConnected(siList, _
    "Test4")
    Stop
    End Sub
    End Class
    Let me know your results please?
    Still lost in code, just at a little higher level.

Maybe you are looking for

  • Mixing RAM Speeds

    Hi there, I posted this in the "Using Mac" forum, but unsure how to delete it, so I reposted here! I'd like to upgrade my memory. Currently, I have the factory installed 1GB RAM. Can I mix memory speeds? For example, will I be able to put 2GB in the

  • Can I transfer calendar data from one Apple ID to another?

    Just realized that my calendars and email were all sharing one Apple ID with my husband which is problematic because I want my own devices syncing up properly. I've set up my own Apple ID, but before I activate it on my devices I want to be sure I do

  • IMac Leopard Hard Drive--who knows what's the problem

    Alright, this all started last night. I downloaded some P2P programs and was downloading a few large files. I should have thought something was wrong when I got a message saying my start-up disk was too full and I needed to delete files. I figured I

  • Problems in exporting crystal report to word format

    Hi All, I am getting trouble in exporting crystal report to word formats. Here are my questions: 1) The exported word file will have a text "R..950" added on top right hand corner, How to get rid of it? 2) For those "Can Grow" fields, it can show mul

  • How to run Orion Console with OC4J from iAS9iR2

    java -cp oc4j.jar com.evermind.gui.server.ServiceConsole