DeviceInfo.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using MediaBrowser.Model.Session;
  3. namespace MediaBrowser.Model.Devices
  4. {
  5. public class DeviceInfo
  6. {
  7. public string Name { get; set; }
  8. /// <summary>
  9. /// Gets or sets the identifier.
  10. /// </summary>
  11. /// <value>The identifier.</value>
  12. public string Id { get; set; }
  13. /// <summary>
  14. /// Gets or sets the last name of the user.
  15. /// </summary>
  16. /// <value>The last name of the user.</value>
  17. public string LastUserName { get; set; }
  18. /// <summary>
  19. /// Gets or sets the name of the application.
  20. /// </summary>
  21. /// <value>The name of the application.</value>
  22. public string AppName { get; set; }
  23. /// <summary>
  24. /// Gets or sets the application version.
  25. /// </summary>
  26. /// <value>The application version.</value>
  27. public string AppVersion { get; set; }
  28. /// <summary>
  29. /// Gets or sets the last user identifier.
  30. /// </summary>
  31. /// <value>The last user identifier.</value>
  32. public Guid LastUserId { get; set; }
  33. /// <summary>
  34. /// Gets or sets the date last modified.
  35. /// </summary>
  36. /// <value>The date last modified.</value>
  37. public DateTime DateLastActivity { get; set; }
  38. /// <summary>
  39. /// Gets or sets the capabilities.
  40. /// </summary>
  41. /// <value>The capabilities.</value>
  42. public ClientCapabilities Capabilities { get; set; }
  43. public DeviceInfo()
  44. {
  45. Capabilities = new ClientCapabilities();
  46. }
  47. public string IconUrl { get; set; }
  48. }
  49. }