Imports System
Imports EvernoteSDK
Imports System.IO
Imports System.Collections.Generic
Imports EvernoteSDK.Advanced
Public class main
dim myResultsList As List(Of ENSessionFindNotesResult)
ENSession.SetSharedSessionConsumerKey("KEY", "SECRET")
If ENSession.SharedSession.IsAuthenticated = False Then
ENSession.SharedSession.AuthenticateToEvernote()
myResultsList = ENSession.SharedSession.FindNotes(ENNoteSearch.NoteSearch("text to find"), Nothing, ENSession.SearchScope.All, ENSession.SortOrder.RecentlyUpdated, 500)
' Given a NoteRef instance, down