示例#1
0
文件: Engine.cs 项目: nsavga/netmf
        private CLRCapabilities.SolutionInfoProperties DiscoverSolutionInfoProperties()
        {
            WireProtocol.IncomingMessage reply = DiscoverCLRCapability(WireProtocol.Commands.Debugging_Execution_QueryCLRCapabilities.c_CapabilitySolutionReleaseInfo);

            WireProtocol.ReleaseInfo solutionInfo = new Microsoft.SPOT.Debugger.WireProtocol.ReleaseInfo();

            CLRCapabilities.SolutionInfoProperties solInfProps = new CLRCapabilities.SolutionInfoProperties();

            if (reply != null)
            {
                WireProtocol.Commands.Debugging_Execution_QueryCLRCapabilities.Reply cmdReply = reply.Payload as WireProtocol.Commands.Debugging_Execution_QueryCLRCapabilities.Reply;

                if (cmdReply != null && cmdReply.m_data != null)
                {
                    new WireProtocol.Converter().Deserialize(solutionInfo, cmdReply.m_data);

                    solInfProps = new CLRCapabilities.SolutionInfoProperties(solutionInfo.Version, solutionInfo.Info);
                }
            }

            return solInfProps;
        }
示例#2
0
 public OemMonitorInfo(_WP.Commands.Monitor_OemInfo.Reply reply)
 {
     m_releaseInfo = reply.m_releaseInfo;
 }
示例#3
0
				public void PrepareForDeserialize(int size, byte[] data, Converter converter)
				{
					m_releaseInfo = new ReleaseInfo();
					m_OemModelInfo = new OEM_MODEL_SKU();
					m_OemSerialNumbers = new OEM_SERIAL_NUMBERS();
				}
示例#4
0
				public void PrepareForDeserialize(int size, byte[] data, Converter converter)
				{
					m_clrReleaseInfo = new ReleaseInfo();
					m_TargetFrameworkVersion = new VersionStruct();
				}
示例#5
0
				public void PrepareForDeserialize(int size, byte[] data, Converter converter)
				{
					m_releaseInfo = new ReleaseInfo();
				}