public static void Init(ProductUserId user, PlatformInterface platform, string displayName) { platformInterface = platform; LocalUserProductId = user; user.ToString(out var buffer); LocalUserProductIdString = buffer; P2PInterface = platformInterface.GetP2PInterface(); MetricsInterface = platformInterface.GetMetricsInterface(); DisplayName = displayName; ChangeRelayStatus(); }