예제 #1
0
파일: iRemote.cs 프로젝트: yartat/Auto3D
        public iRemote()
        {
            this.addTv = new UPnPCallbackFunc(TvAddedCallback);
            this.delTv = new UPnPCallbackFunc(TvDeletedCallback);

            this.packetCb = new IPacketParser(PacketParser);
            this.connectOk = new IRemoteCallback(connectSuccess);
            this.connectFail = new IRemoteCallback(connectionFail);
            this.authentic = new IRemoteCallback(authentication);
            this.disc = new IRemoteCallback(disconnect);
            this.authenticFail = new IRemoteCallback(authenticationFail);
            this.authenticFull = new IRemoteCallback(authenticationFull);
            this.authenticDeny = new IRemoteCallback(authenticationDeny);

            iRemote.InstallUPnPCallback(this.addTv, this.delTv);
            int num = iRemote.StartUPnP(new StringBuilder("Mobile Simulator"));
        }
예제 #2
0
        public iRemote()
        {
            this.addTv = new UPnPCallbackFunc(TvAddedCallback);
            this.delTv = new UPnPCallbackFunc(TvDeletedCallback);

            this.packetCb      = new IPacketParser(PacketParser);
            this.connectOk     = new IRemoteCallback(connectSuccess);
            this.connectFail   = new IRemoteCallback(connectionFail);
            this.authentic     = new IRemoteCallback(authentication);
            this.disc          = new IRemoteCallback(disconnect);
            this.authenticFail = new IRemoteCallback(authenticationFail);
            this.authenticFull = new IRemoteCallback(authenticationFull);
            this.authenticDeny = new IRemoteCallback(authenticationDeny);

            iRemote.InstallUPnPCallback(this.addTv, this.delTv);
            int num = iRemote.StartUPnP(new StringBuilder("Mobile Simulator"));
        }
예제 #3
0
파일: iRemote.cs 프로젝트: yartat/Auto3D
 public static extern void InstallUPnPCallback(UPnPCallbackFunc addedCallback, UPnPCallbackFunc deletedCallback);
예제 #4
0
 public static extern void InstallUPnPCallback(UPnPCallbackFunc addedCallback, UPnPCallbackFunc deletedCallback);