Share via


Exercise 4: Verification

  1. Press CTRL+F5 to start an instance of the DiscoveryChat.exe application without debugging.
  2. Switch back to Visual Studio and press Ctrl+F5 again to launch another instance of the DiscoveryChat.exe application.
  3. Switch to one of the instances of DiscoveryChat.exe, and setup the chat as follows:

    1. User Name: Fred
    2. Click Sign In

      Figure 14

      Sign in as Fred

    Note:
    Windows Firewall may prompt you to allow the Chat client access to use the network. It is safe to allow this.

  4. Switch to the other DiscoveryChat.exe instance, and setup the chat as follows:
    1. Username: Wilma
    2. Click Sign In
  5. When the Wilma instance signs in, it will do ad hoc discovery immediately and locate the Fred instance.
  6. Double-click the URI in the available users list to start a chat with Fred.
    1. Send Message Text: Hi Fred
    2. Click Send
  7. When you start the chat, you will see Wilma appear in the user list on the Fred Discovery chat window.

    Figure 15

    Two instances of DiscoveryChat application that discovered each other

  8. Close both instances of the DiscoveryChat application.

Next Step

Exercise 5: Metadata Extensions