Beispiel #1
0
 public Media20Services(string Hostname, string User, string Password)
 {
     m_services                = null;
     m_mediaClient             = null;
     m_profiles                = null;
     m_Hostname                = Hostname;
     m_User                    = User;
     m_Password                = Password;
     m_BasicBasicAuthBehaviour = new BasicAuthBehaviour(m_User, m_Password);
     m_PasswordDigestBehavior  = new PasswordDigestBehavior(m_User, m_Password, 0);
     m_ErrorMessage            = "";
     m_deviceInformations      = null;
     m_HostnameInformation     = null;
 }
Beispiel #2
0
        public OnVifDevice(string Hostname, string User, string Password)
        {
            m_services = null;

            m_Hostname = Hostname;
            m_User     = User;
            m_Password = Password;
            m_BasicBasicAuthBehaviour = new BasicAuthBehaviour(m_User, m_Password);
            m_PasswordDigestBehavior  = new PasswordDigestBehavior(m_User, m_Password, 0);
            m_ErrorMessage            = "";
            m_deviceInformations      = null;
            m_HostnameInformation     = null;
            m_Capabilities            = null;
            m_device = null;
            m_capabilitiesResponse = null;
            m_SystemDateTime       = null;
        }