共用方式為


CFHTTPMessage.AddAuthentication 方法

定義

public bool AddAuthentication (CoreServices.CFHTTPMessage failureResponse, Foundation.NSString username, Foundation.NSString password, CoreServices.CFHTTPMessage.AuthenticationScheme scheme, bool forProxy);
member this.AddAuthentication : CoreServices.CFHTTPMessage * Foundation.NSString * Foundation.NSString * CoreServices.CFHTTPMessage.AuthenticationScheme * bool -> bool

參數

failureResponse
CFHTTPMessage
username
NSString
password
NSString
forProxy
Boolean

傳回

適用於