PeerApplicationLaunchInfo.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / SystemNet / Net / PeerToPeer / Collaboration / PeerApplicationLaunchInfo.cs / 1305376 / PeerApplicationLaunchInfo.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Net.PeerToPeer.Collaboration 
{ 
    using System;
 
    /// 
    /// Represents launch info that collab gives back for the running application.
    /// If this application has been started up via collab invitation then it gives
    /// back the details of that invitation. 
    /// 
    public class PeerApplicationLaunchInfo 
    { 
        private PeerContact m_peerContact;
        private PeerEndPoint m_peerEndPoint; 
        private PeerApplication m_peerApplication;
        private byte[] m_inviteData;
        private string m_message;
 
        internal PeerApplicationLaunchInfo() { }
 
        public PeerContact PeerContact 
        {
            get{ 
                return m_peerContact;
            }
            internal set{
                m_peerContact = value; 
            }
        } 
 
        public PeerEndPoint PeerEndPoint
        { 
            get{
                return m_peerEndPoint;
            }
            internal set{ 
                m_peerEndPoint = value;
            } 
        } 

        public PeerApplication PeerApplication 
        {
            get{
                return m_peerApplication;
            } 
            internal set{
                m_peerApplication = value; 
            } 
        }
 
        public byte[] Data
        {
            get{
                return m_inviteData; 
            }
            internal set{ 
                m_inviteData = value; 
            }
        } 

        public string Message
        {
            get{ 
                return m_message;
            } 
            internal set{ 
                m_message = value;
            } 
        }
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK