SOL9 2.0 Class: DnsName

 SOL9 C++ Class Library  SOL9 Samples  SOL9 Tutorial  SOL9 FAQ  SOL9 ClassTree 

Source code

/*
 * DnsName.h 
 * Copyright (c) 2011 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// SOL9 2.0

// 2011/1/1 

#pragma once
#include <sol/dns/DnsObject.h>


namespace SOL {

class DnsName :public DnsObject {

public:
    DNS_STATUS validate(
        __in TCHAR* name,
        __in DNS_NAME_FORMAT format)
    {
        return DnsValidateName(name, format);
    }

public 
BOOL
    compare(
        __in TCHAR* pName1,
        __in TCHAR* pName2)
    {
        return DnsNameCompare(
            pName1,
        pName2
    );


};

}


Last modified: 1 Feb 2012

Copyright (c) 2009-2012 Antillia.com ALL RIGHTS RESERVED.