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); }
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); }
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; }
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; }