Property SizeBytes
SizeBytes
Gets the size of the resource file in bytes, read from the file system
without loading the content, or -1 when the file cannot be inspected.
public long SizeBytes { get; }
Property Value
Examples
Reading a resource size without loading its content:
var resource = skill.GetResource("references/API.md");
Console.WriteLine($"{resource.SizeBytes} bytes");
Console.WriteLine(resource.IsContentLoaded); // still false