2
0

IServerApplicationHost.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using MediaBrowser.Common;
  2. using MediaBrowser.Model.System;
  3. using System;
  4. namespace MediaBrowser.Controller
  5. {
  6. /// <summary>
  7. /// Interface IServerApplicationHost
  8. /// </summary>
  9. public interface IServerApplicationHost : IApplicationHost
  10. {
  11. event EventHandler HasUpdateAvailableChanged;
  12. /// <summary>
  13. /// Gets the system info.
  14. /// </summary>
  15. /// <returns>SystemInfo.</returns>
  16. SystemInfo GetSystemInfo();
  17. /// <summary>
  18. /// Gets the name of the web application.
  19. /// </summary>
  20. /// <value>The name of the web application.</value>
  21. string WebApplicationName { get; }
  22. /// <summary>
  23. /// Gets a value indicating whether [supports automatic run at startup].
  24. /// </summary>
  25. /// <value><c>true</c> if [supports automatic run at startup]; otherwise, <c>false</c>.</value>
  26. bool SupportsAutoRunAtStartup { get; }
  27. /// <summary>
  28. /// Gets the HTTP server port.
  29. /// </summary>
  30. /// <value>The HTTP server port.</value>
  31. int HttpServerPort { get; }
  32. /// <summary>
  33. /// Gets a value indicating whether this instance has update available.
  34. /// </summary>
  35. /// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>
  36. bool HasUpdateAvailable { get; }
  37. /// <summary>
  38. /// Gets the name of the friendly.
  39. /// </summary>
  40. /// <value>The name of the friendly.</value>
  41. string FriendlyName { get; }
  42. }
  43. }