public override string ToString()
{
StringBuilder builder = new StringBuilder( 16 );
builder.Append( m_Major );
builder.Append( '.' );
builder.Append( m_Minor );
builder.Append( '.' );
builder.Append( m_Revision );
if( m_Major <= 5 && m_Minor <= 0 && m_Revision <= 6 ) //Anything before 5.0.7
{
if( m_Patch > 0 )
builder.Append( (char)('a' + (m_Patch - 1)) );
}
else
{
builder.Append( '.' );
builder.Append( m_Patch );
}
if ( m_Type != ClientType.Regular )
{
builder.Append( ' ' );
builder.Append( m_Type.ToString() );
}
return builder.ToString();
}