MscrmTools / MscrmTools.Xrm.Connection

Provides Winforms control to connect to Microsoft Dynamics CRM deployments
GNU Lesser General Public License v3.0
23 stars 38 forks source link

Fixed loading connections from URL #128

Closed MarkMpn closed 3 years ago

MarkMpn commented 3 years ago

Follow-up to #85

The ability to load a connection list from a URL was broken in #126 as you cannot access the .Length property of a non-seekable stream such as that returned from an HTTP request.

This change bypasses the check for empty files where the stream is not seekable in order to restore the ability to load connection lists from a URL.

MscrmTools commented 3 years ago

Thank you