Here are the examples of the csharp api class hdsdump.f4m.Media.UpfateBootstrapBox() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
View licenseprivate void OnBootstrapUpdateTimer(object state) { bootstrapInfo.data = HTTP.TryGETData(bootstrapInfo.url, out int retCode, out string status); if (retCode != 200) { Program.DebugLog("Error while loading UpdateBootstrapBox. Code: " + retCode + " Status: " + status); } UpfateBootstrapBox(); }
0
2. Example
View licensepublic void UpdateBootstrapInfo() { bool itWasLive = Bootstrap != null ? Bootstrap.live : false; if (!string.IsNullOrEmpty(bootstrapInfo.url)) { Updating = true; bootstrapInfo.data = HTTP.TryGETData(bootstrapInfo.url, out int retCode, out string status); if (retCode != 200) { Program.DebugLog("Error while loading UpdateBootstrapBox. Code: " + retCode + " Status: " + status); } } UpfateBootstrapBox(); if (!itWasLive && Bootstrap == null) throw new InvalidOperationException("Failed to parse bootstrap info. Not found the abst box."); if (Bootstrap != null && Bootstrap.live) StartBootstrapUpdateTimer(); }