# LastmileProbeConfig (/zh-CN/api-reference/rtc/csharp-windows/class-lastmileprobeconfig)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_lastmileprobeconfig__prototype"></a>

```csharp
public class LastmileProbeConfig
    {
        public LastmileProbeConfig()
        {
        }

        public LastmileProbeConfig(bool probeUplink, bool probeDownlink, uint expectedUplinkBitrate,
            uint expectedDownlinkBitrate)
        {
            this.probeUplink = probeUplink;
            this.probeDownlink = probeDownlink;
            this.expectedUplinkBitrate = expectedUplinkBitrate;
            this.expectedDownlinkBitrate = expectedDownlinkBitrate;
        }
        public bool probeUplink { set; get; }
        public bool probeDownlink { set; get; }
        public uint expectedUplinkBitrate { set; get; }
        public uint expectedDownlinkBitrate { set; get; }
    }
```

<a id="class_lastmileprobeconfig__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="probeuplink"></a>
<Parameter name="probeUplink">

是否探测上行网络。有些用户，如直播频道中的普通观众，不需要进行网络探测:

- `true`: 探测上行网络。
- `false`: 不探测上行网络。

</Parameter>
<a id="probedownlink"></a>
<Parameter name="probeDownlink">

是否探测下行网络：

- `true`: 探测下行网络。
- `false`: 不探测下行网络。

</Parameter>
<a id="expecteduplinkbitrate"></a>
<Parameter name="expectedUplinkBitrate">

用户期望的最高发送码率，单位为 bps，范围为 [100000,5000000]。建议参考 [SetVideoEncoderConfiguration](/zh-CN/api-reference/rtc/csharp-windows/video/video-basic#api_irtcengine_setvideoencoderconfiguration) 中的码率值设置该参数的值。

</Parameter>
<a id="expecteddownlinkbitrate"></a>
<Parameter name="expectedDownlinkBitrate">

用户期望的最高接收码率，单位为 bps，范围为 [100000,5000000]。

</Parameter>
</ParameterList>
