Remote Share Size

Hello there,
We are developing a UI customization of the Windows Desktop Client.
Actually we are using the c# wrapper.
To create, in our UI, the Share Render of the correct size we would like to know how to get
the size, the resolution or the aspect ratio of the remote users share screen.
Where we cand get this information?
Thank you very much
Stefano

Hey @s.cupertino,

Thanks for using the dev forum!

I believe the closest thing to this that we have is this interface: SetWindowSizeTypeWhenViewShare

Thanks!
Michael

Thanks Michael for your answer
i think there is a problem in the SDK documentation
following the link:
SetWindowSizeTypeWhenViewShare i found the same info of
SetLimitFPSValueWhenShare() with the description:
“Set the limited sharing fps value when the ‘limited sharing fps’ feature is enabled.”
nothing to do with resolution.

We have found this very interesting method:
QueryShareStatisticInfo

but the following code resurn zero for the width and height

        ValueType shareInfo = new ASVSessionStatisticInfo();

        var shareStatistic = CZoomSDKeDotNetWrap.Instance.GetSettingServiceWrap().GetStatisticSettings().QueryShareStatisticInfo(ref shareInfo);

        Console.WriteLine(((ASVSessionStatisticInfo)shareInfo).resolution_recv_>>16);
        Console.WriteLine((((ASVSessionStatisticInfo)shareInfo).resolution_recv_ << 16)>>16);

As we mention before we want only to know the remote Share Width and Height
Can you please help us to unsderteand better how to get it?

Thanks
Stefano

Hey @s.cupertino,

Hmm, let me follow up internally about this one.

Thanks!
Michael

Thanks Michael
I apologize for my English. Your help is greatly appreciated
Stefano

Hey @s.cupertino,

Your english is very good, dont worry :slight_smile:

Michael

Hi Michael
any update about this topic?

Thanks
Stefano

Hey @s.cupertino,

It does not look we have an interface for this at this time.

Thanks!
Michael

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.