Google Generative AI SDK
C#
    Show/Hide TOC

      ApiBaseUploadFileWithProgressAsync Method

      Overload List

      UploadFileWithProgressAsync(String, String, ActionDouble, DictionaryString, String, CancellationToken) Uploads a file to the specified URL with progress reporting.
      UploadFileWithProgressAsync(Stream, String, String, String, ActionDouble, DictionaryString, String, CancellationToken) 

      See Also

      Reference

      ApiBase Class
      GenerativeAI.Core Namespace

      In This Article

      • Overload List
      • See Also