Jump to content

Get server ID in C# plugin


pünktchen

Recommended Posts

pünktchen
21 hours ago, Luke said:

Hi, use IApplicationHost.SystemId

If you now tell me where i get IApplicationHost i'll be happy. What using directive is needed for this?

Link to comment
Share on other sites

pünktchen

Sorry i can't follow. How should i inject something as a paramater when the parameter is the thing i don't know how get from Emby's api.

Link to comment
Share on other sites

pünktchen

Found it!!! It's just "using MediaBrowser.Common" and not some of the sub namespaces like "using MediaBrowser.Common.Net" 😵

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...