点击或拖拽改变大小

LibVLCSetUserAgent 方法

Sets the application name. LibVLC passes this as the user agent string

when a protocol requires it.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public void SetUserAgent(
	string name,
	string http
)

参数

name
类型:SystemString
human-readable application name, e.g. "FooBar player 1.2.3"
http
类型:SystemString
HTTP User Agent, e.g. "FooBar/1.2.3 Python/2.6.0"
备注
LibVLC 1.1.1 or later
参见