# Metadata (/zh-CN/api-reference/rtc/csharp-windows/class-metadata)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```csharp
public class Metadata
{
public string channelId;
public uint uid;
public uint size;
public IntPtr buffer;
public long timeStampMs;
public Metadata()
{
this.channelId = "";
this.uid = 0;
this.size = 0;
this.buffer = IntPtr.Zero;
this.timeStampMs = 0;
}
public Metadata(string channelId, uint uid, uint size, IntPtr buffer, long timeStampMs)
{
this.channelId = channelId;
this.uid = uid;
this.size = size;
this.buffer = buffer;
this.timeStampMs = timeStampMs;
}
}
```
## 属性 [#属性]
频道名称。
用户 ID。
- 对于接收者:发送该 Metadata 的远端用户的 ID。
- 对于发送者:请忽略。
接收到的或发送的 Metadata 的缓存大小。
接收到的 Metadata 的缓存地址。
发送 Metadata 的时间戳,单位为毫秒。