예제 #1
0
        private static Guid FindApplicationEufGuid(P2PApplication p2pApp)
        {
            foreach (List <P2PApp> apps in p2pAppCache.Values)
            {
                foreach (P2PApp app in apps)
                {
                    if (app.AppType == p2pApp.GetType())
                    {
                        return(app.EufGuid);
                    }
                }
            }

            return(Guid.Empty);
        }
예제 #2
0
        private static uint FindApplicationId(P2PApplication p2pApp)
        {
            foreach (List <P2PApp> apps in p2pAppCache.Values)
            {
                foreach (P2PApp app in apps)
                {
                    if (app.AppType == p2pApp.GetType())
                    {
                        return(app.AppId);
                    }
                }
            }

            return(0);
        }
예제 #3
0
        private static uint FindApplicationId(P2PApplication p2pApp)
        {
            foreach (List<P2PApp> apps in p2pAppCache.Values)
            {
                foreach (P2PApp app in apps)
                    if (app.AppType == p2pApp.GetType())
                        return app.AppId;
            }

            return 0;
        }
예제 #4
0
        private static Guid FindApplicationEufGuid(P2PApplication p2pApp)
        {
            foreach (List<P2PApp> apps in p2pAppCache.Values)
            {
                foreach (P2PApp app in apps)
                    if (app.AppType == p2pApp.GetType())
                        return app.EufGuid;
            }

            return Guid.Empty;
        }