Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

csharp changedcli-sdks-libraries/sdks/csharp

Nearest release: v2.1.238, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+3added
Lines−3removed
From line 354 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits10to this page, all time

The whole hunk

from line 354, old and new numbered
/
lines
from line 354
354354 
355355```csharp
356356using System;
357using Anthropic.Models.Beta.Files;
357using Anthropic.Models.Files;
358358 
359359FileDownloadParams parameters = new() { FileID = "file_id" };
360360 
361var response = await client.Beta.Files.Download(parameters);
361var response = await client.Files.Download(parameters);
362362 
363363Console.WriteLine(response);
364364```
from line 368
368368```csharp
369369using System.IO;
370370 
371using var response = await client.Beta.Files.Download(parameters);
371using var response = await client.Files.Download(parameters);
372372using var contentStream = await response.ReadAsStream();
373373using var fileStream = File.Open(path, FileMode.OpenOrCreate);
374374await contentStream.CopyToAsync(fileStream); // Or any other Stream
Feedback