Convert iFile to FileStream to Upload to GoogleDrive appears to work but the file has 0 bytes (Blazor Server)

I am able to ‘create’ a file on google-Drive using the below code however I have noticed the files have 0 bytes. I am using a Service Account which is Editor. I am using the Radzen Upload Control.

<RadzenUpload Url="upload/single" Progress=@(args => TrackProgress(args, "Single file upload")) class="w-100" InputAttributes="@(new Dictionary<string,object>(){ { "aria-label", "select file" }})"> </RadzenUpload>

The controller used to receive the file

[DisableRequestSizeLimit]
public partial class UploadController : Controller
{
    private readonly IWebHostEnvironment environment;
    private readonly GoogleDriveService _googleDriveService;

    public UploadController(IWebHostEnvironment environment, GoogleDriveService googleDriveService)
    {
        this.environment = environment;
        _googleDriveService = googleDriveService;           
    }


    // Single file upload
    [HttpPost("upload/volunteer")]
    public IActionResult Volunteer(IFormFile file)
    {
        try
        {
            _googleDriveService.UploadFile(file, this.environment);       

            return StatusCode(200, file.FileName);
        }
        catch (Exception ex)
        {
            return StatusCode(500, ex.Message);
        }
    }
}

My Service for Working with Google Drive

public string UploadFile(IFormFile File, IWebHostEnvironment environment)
{
    string uploadedFileId = "";

    string RootFolderId = "xxxxxxxxxxxxxxxxxxxxxxxx";   \Target Folder

    var service = Auth();

    try
    {
        FilesResource.CreateMediaUpload request;
        using (var stream = new FileStream(Path.Combine(environment.WebRootPath, File.FileName), FileMode.Create))
        {
            using (MemoryStream memoryStream = new MemoryStream())
            {
                stream.CopyTo(memoryStream);
                Google.Apis.Drive.v3.Data.File fileMetadata = new Google.Apis.Drive.v3.Data.File
                {
                    Name = File.FileName,
                    Parents = new List<string> { RootFolderId }
                };
                request = service.Files.Create(fileMetadata, memoryStream, File.ContentType);
                request.Fields = "id";
                request.SupportsTeamDrives = true;
                request.SupportsAllDrives = true;
                request.Upload();
            }
        }
        Google.Apis.Drive.v3.Data.File file = request.ResponseBody;
        uploadedFileId = file.Id;

        return uploadedFileId;
    }
    catch (Exception ex)
    {
        var x = ex;
    }

    return uploadedFileId;
}


public DriveService Auth()
{
    var credential = GoogleCredential.FromFile(
            Path.Combine(Directory.GetCurrentDirectory(), "wwwroot", PathToServiceAccountKeyFile))
            .CreateScoped(DriveService.ScopeConstants.Drive);

    // Create the  Drive service.
    DriveService service = new DriveService(new BaseClientService.Initializer()
    {
        HttpClientInitializer = credential
    });

    return service;
}

My Auth code for the API

public DriveService Auth()
{
    // Load the Service account credentials and define the scope of its access.
    var credential = GoogleCredential.FromFile(
                    Path.Combine(Directory.GetCurrentDirectory(), "wwwroot", PathToServiceAccountKeyFile))
                    .CreateScoped(DriveService.ScopeConstants.Drive);

    // Create the  Drive service.
    DriveService service = new DriveService(new BaseClientService.Initializer()
    {
        HttpClientInitializer = credential
    });

    return service;
}

The upload Looks as though it works, a file is created in Google Drive at the right location, there is just no Content (0 bytes)

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật