TransferOptions.ResumeSupport is read-only

Advertisement

Refresh
Guest

TransferOptions.ResumeSupport is read-only

Hi,

I'm trying to use the new ResumeSupport transfer option in the .NET library.

But the field seems to be read-only. I get a "error CS0200: Property or indexer 'ResumeSupport' cannot be assigned to -- it is read only" when trying to do:

TransferOptions transferOptions = new TransferOptions() { TransferMode = TransferMode.Automatic, ResumeSupport = TransferResumeSupportState.Off };

I'm on the 5.2.1 beta (dll version 1.1.1.3231).

Reply with quote

Advertisement

Arul S.
Guest

Re: Please ignore - Found answer

Refresh wrote:

TransferOptions.ResumeSupport.State = TransferResumeSupportState.Off; :oops:

After a long research i found this,

TransferOptions.ResumeSupport.State = 2;

Reply with quote

Advertisement

You can post new topics in this forum