async void RegisterService() { // Create a listening socket to watch for incoming connections from other apps StreamSocketListener listener.