Panopto API 003: Security

Return to the Panopto API index page

If we communicate with the server, we should be checking that it is a valid and secure server.

The following code is taken from the Panopto github: https://github.com/Panopto/ScheduleTool

Add the following name spaces to the top of the application you made in the previous posts

Add this to the top of the application, just above static void Main()

Then add the following to the bottom of the application. Within class Program but outside of static void Main()

With this code you can call

to ensure that the server certificate is valid. We will use this function in all our API calls.

Our full code now looks like this

Return to the Panopto API index page

One Comment

  1. FirstGay

    I see you don’t monetize your site, don’t waste your traffic, you can earn additional bucks every month because
    you’ve got hi quality content. If you want to know how to make
    extra $$$, search for: Mrdalekjd methods for $$$

    1 year ago

Leave a Reply

Your email address will not be published. Required fields are marked *