31 lines
495 B
C#
31 lines
495 B
C#
|
using System;
|
||
|
|
||
|
namespace Novell.CASA
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Summary description for BasicCredential.
|
||
|
/// </summary>
|
||
|
public class BasicCredential
|
||
|
{
|
||
|
|
||
|
private string m_username = "";
|
||
|
private string m_password = "";
|
||
|
|
||
|
public BasicCredential(string username, string password)
|
||
|
{
|
||
|
m_username = username;
|
||
|
m_password = password;
|
||
|
}
|
||
|
|
||
|
public string GetUsername()
|
||
|
{
|
||
|
return m_username;
|
||
|
}
|
||
|
|
||
|
public string GetPassword()
|
||
|
{
|
||
|
return m_password;
|
||
|
}
|
||
|
}
|
||
|
}
|