Exemple #1
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"));
        }
Exemple #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"));
        }
Exemple #3
0
 public static extern void SetConnectCallback(IRemoteCallback connectSuccess, IRemoteCallback connectFail, IRemoteCallback disconnect, IRemoteCallback authentication, IRemoteCallback authenticationFail, IRemoteCallback authenticationDeny, IRemoteCallback authenticationFull);
Exemple #4
0
 public static extern void SetConnectCallback(IRemoteCallback connectSuccess, IRemoteCallback connectFail, IRemoteCallback disconnect, IRemoteCallback authentication, IRemoteCallback authenticationFail, IRemoteCallback authenticationDeny, IRemoteCallback authenticationFull);