Hi,
I can't find any sample or a documentation on how to use this. I only found a general auto generated help, which does not help.
I tried to figure out how this ServiceProxy has to be used and tried this:
var settings = new ArgusTV.ServiceProxy.ServerSettings();
settings.ServerName = "192.168.10.37";
var result = ArgusTV.ServiceProxy.Proxies.Initialize(settings);
if (result)
{
}
But this is throwing an exception:
System.Security.VerificationException wurde nicht behandelt.
HResult=-2146233075
Message=System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted-Methode: Das "Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Collections.Generic.IEnumerable`1[System.String]]"-Typargument verletzt die Einschränkung des "TAwaiter"-Typparameters.
Source=ArgusTV.ServiceProxy
StackTrace:
bei ArgusTV.ServiceProxy.Proxies.<PingAndCheckServer>d__9.MoveNext()
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
bei System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
bei System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
bei ArgusTV.ServiceProxy.Proxies.PingAndCheckServer(ServerSettings serverSettings)
bei ArgusTV.ServiceProxy.Proxies.InternalInitialize(ServerSettings serverSettings, Boolean throwError, IServiceProxyLogger logger, SourceLevels logLevel)
bei ArgusTV.ServiceProxy.Proxies.Initialize(ServerSettings serverSettings, Boolean throwError, IServiceProxyLogger logger, SourceLevels logLevel)
Best regards,
Sascha
How to use ArgusTV.ServiceProxy?
Re: How to use ArgusTV.ServiceProxy?
Also the REST API is not working!
Calling the help pages like "http://xxx.xxx.xxx.xxx:49943/ArgusTV/Scheduler/help" are working. But calling the methods to get a channel or all channels always returns 404 error.
Calling the help pages like "http://xxx.xxx.xxx.xxx:49943/ArgusTV/Scheduler/help" are working. But calling the methods to get a channel or all channels always returns 404 error.
Re: How to use ArgusTV.ServiceProxy?
Calling /Version also throws an error:
500 Internal Server Error
Error details are currently disabled. Please set StaticConfiguration.DisableErrorTraces = true; to enable.
Where can I enable this? I didn't find that option in the web.config. If I run ArgusTV.WebAccesSetup it throws an exception "Index out of range"
500 Internal Server Error
Error details are currently disabled. Please set StaticConfiguration.DisableErrorTraces = true; to enable.
Where can I enable this? I didn't find that option in the web.config. If I run ArgusTV.WebAccesSetup it throws an exception "Index out of range"
Who is online
Users browsing this forum: No registered users and 10 guests