Ejemplo n.º 1
0
        /// <summary>
        /// Gets TinyBooter's OEM-specified OEMInfo string and compile-time build version
        /// number.
        /// </summary>
        /// <returns>returns an OemMonitorInfo object, or null if we are not connected or
        /// connected to the CLR rather than TinyBooter.</returns>
        public OemMonitorInfo GetOemMonitorInfo()
        {
            if (m_eng == null || !m_eng.IsConnected || m_eng.IsConnectedToTinyCLR)
            {
                return(null);
            }

            _WP.Commands.Monitor_OemInfo.Reply reply = m_eng.GetMonitorOemInfo();
            return(reply == null ? null : new OemMonitorInfo(reply));
        }
Ejemplo n.º 2
0
 public OemMonitorInfo(_WP.Commands.Monitor_OemInfo.Reply reply)
 {
     m_releaseInfo = reply.m_releaseInfo;
 }