AuthenticationRequired Property

Summary
Gets or sets the authentication method.
Syntax
C#
C++/CLI
public RTSPAuthenticationType AuthenticationRequired { get; set; } 
public: 
property RTSPAuthenticationType AuthenticationRequired { 
   RTSPAuthenticationType get(); 
   void set (    RTSPAuthenticationType ); 
} 

Property Value

The authentication method.

Example
C#
using Leadtools; 
using Leadtools.Multimedia; 
using LeadtoolsMultimediaExamples.Fixtures; 
 
 
public void SetSecurity() 
{ 
   RTSPSecurity security = new RTSPSecurity(); 
   security.RealmName = "MyRTSPServer"; 
   security.AuthenticationRequired = RTSPAuthenticationType.Basic; 
   security.AddUser("TestUser", "TestPassword"); 
   _server.SetSecurity(-1, security); 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.