You can access Example API Functions in {color:blue}<installdir>/apisamples{color} directory.
h4. Windows CDP
During CDP Server installation you can select the installation directory for the server or leave the default location untouched.
!install-en382-7.png!
By default, the CDP Server is installed to:
* {color:blue}C:\Program Files\R1Soft CDP Server Standard Edition{color}
* {color:blue}C:\Program Files\R1Soft CDP Server Enterprise Edition{color}
* {color:blue}C:\Program Files\R1Soft CDP Server Advanced Edition{color}
The following screenshot displays the contents of the {color:blue}apisamples{color} directory of R1Soft CDP Advanced Edition directory (Windows).
!apisamples1.png!
h4. Linux CDP
API samples are located in {color:blue}/usr/sbin/r1soft/apisamples{color} directory. This directory cannot be changed because it is hardcoded in {color:blue}.deb{color} and {color:blue}.rpm{color} packages. The following screenshot displays the contents of the {color:blue}apisamples{color} directory. The screenshot is made from Debian Gnome desktop.
{info:title=Tip}Nautilus file manager should be started with root permissions because directory {color:blue}/usr/sbin/r1soft{color} is not readable by regular users.
{info} !api-linux.png!
{excerpt:hidden=true}Instructions on how to access the R1Soft Example API Functions for CDP.{excerpt}
h4. Windows CDP
During CDP Server installation you can select the installation directory for the server or leave the default location untouched.
!install-en382-7.png!
By default, the CDP Server is installed to:
* {color:blue}C:\Program Files\R1Soft CDP Server Standard Edition{color}
* {color:blue}C:\Program Files\R1Soft CDP Server Enterprise Edition{color}
* {color:blue}C:\Program Files\R1Soft CDP Server Advanced Edition{color}
The following screenshot displays the contents of the {color:blue}apisamples{color} directory of R1Soft CDP Advanced Edition directory (Windows).
!apisamples1.png!
h4. Linux CDP
API samples are located in {color:blue}/usr/sbin/r1soft/apisamples{color} directory. This directory cannot be changed because it is hardcoded in {color:blue}.deb{color} and {color:blue}.rpm{color} packages. The following screenshot displays the contents of the {color:blue}apisamples{color} directory. The screenshot is made from Debian Gnome desktop.
{info:title=Tip}Nautilus file manager should be started with root permissions because directory {color:blue}/usr/sbin/r1soft{color} is not readable by regular users.
{info} !api-linux.png!
{excerpt:hidden=true}Instructions on how to access the R1Soft Example API Functions for CDP.{excerpt}